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

From: Christoph Hellwig
Date: Tue Apr 11 2023 - 02:10:20 EST


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.