commit | 59e330f8ff7ada7aa64fa422f6adf22a45152a7e | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Thu Sep 17 08:50:25 2020 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Tue Sep 22 17:49:55 2020 +0200 |
tree | 8d74c55da3ef67f291fe2f9959d8cdbc77aa5215 | |
parent | 4a2dd2c798522859811dd520a059f982278be9d9 [diff] |
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: Tong Zhang <ztong0001@gmail.com> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de>