Skip to content
Commit 59e330f8 authored by Keith Busch's avatar Keith Busch Committed by Christoph Hellwig
Browse files

nvme: return errors for hwmon init



Initializing the nvme hwmon retrieves a log from the controller. If the
controller is broken, we need to return the appropriate error so that
subsequent initialization doesn't attempt to continue.

Reported-by: default avatarTong Zhang <ztong0001@gmail.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 4a2dd2c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment