Searched hist:ff0805e2bde04bbb3a11669c40ecaf418e392ed1 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/phy/ |
H A D | marvell10g.c | diff ff0805e2bde04bbb3a11669c40ecaf418e392ed1 Fri Apr 07 16:59:08 CEST 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> net: phy: marvell: constify pointers to hwmon_channel_info
Statically allocated array of pointed to hwmon_channel_info can be made const for safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20230407145911.79642-5-krzysztof.kozlowski@linaro.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | marvell.c | diff ff0805e2bde04bbb3a11669c40ecaf418e392ed1 Fri Apr 07 16:59:08 CEST 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> net: phy: marvell: constify pointers to hwmon_channel_info
Statically allocated array of pointed to hwmon_channel_info can be made const for safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20230407145911.79642-5-krzysztof.kozlowski@linaro.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|