nvme-hwmon: log the controller device name
Subsystems (2)
Sagi Grimberg
maintainerPATCH 1/1 nvme-hwmon: log the controller device name
Stay consistent with the rest of the driver
Signed-off-by Sagi Grimberg <[email protected]>
--- drivers/nvme/host/hwmon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/nvme/host/hwmon.c +2 -1
@@ -241,7 +241,8 @@ void nvme_hwmon_init(struct nvme_ctrl *ctrl) err =nvme_hwmon_get_smart_log (data);if (err) { -dev_warn (dev,"Failed to read smart log (error %d)\n" , err); +dev_warn (ctrl->device, +"Failed to read smart log (error %d)\n" , err);devm_kfree (dev, data);return ; }
Signature · 7 lines
2.25.1 _______________________________________________ Linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme
Applied to nvme-5.9.
_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme