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

From: Krzysztof Kozlowski
Date: Tue Apr 11 2023 - 02:11:50 EST


On 11/04/2023 08:10, Christoph Hellwig wrote:
> 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.

The dependency was described in the patch. Guenter also provided
a stable branch with the dependency:

git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-const

Best regards,
Krzysztof