[PATCH] nvme: host: hwmon: constify pointers to hwmon_channel_info

Christoph Hellwig hch at lst.de
Mon Apr 10 23:10:12 PDT 2023


On Tue, Apr 11, 2023 at 08:09:00AM +0200, Christoph Hellwig wrote:
> Thanks,
> 
> applied to nvme-6.4 with a trivial whitespace fix.

Actually, I've dropped this again as it causes this warning:

drivers/nvme/host/hwmon.c:221:19: warning: initialization discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]

This looks like we might need a core hwmon change first.



More information about the Linux-nvme mailing list