Re: [PATCH 3/8] net: phy: aquantia: constify pointers to hwmon_channel_info

From: Andrew Lunn
Date: Fri Apr 07 2023 - 11:06:14 EST


On Fri, Apr 07, 2023 at 04:59:06PM +0200, Krzysztof Kozlowski wrote:
> Statically allocated array of pointed to hwmon_channel_info can be made
> const for safety.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

> This depends on hwmon core patch:
> https://lore.kernel.org/all/20230406203103.3011503-2-krzysztof.kozlowski@xxxxxxxxxx/
>
> Therefore I propose this should also go via hwmon tree.

Any merge conflicts should be easy to solve, so that seems reasonable.

Andrew