Re: [PATCH] soc: samsung: include linux/array_size.h where needed
From: Krzysztof Kozlowski
Date: Thu Mar 06 2025 - 13:15:50 EST
On Wed, 05 Mar 2025 22:14:02 +0100, Arnd Bergmann wrote:
> This does not necessarily get included through asm/io.h:
>
> drivers/soc/samsung/exynos3250-pmu.c:120:18: error: use of undeclared identifier 'ARRAY_SIZE'
> 120 | for (i = 0; i < ARRAY_SIZE(exynos3250_list_feed); i++) {
> | ^
> drivers/soc/samsung/exynos5250-pmu.c:162:18: error: use of undeclared identifier 'ARRAY_SIZE'
> 162 | for (i = 0; i < ARRAY_SIZE(exynos5_list_both_cnt_feed); i++) {
> | ^
>
> [...]
Applied, thanks!
[1/1] soc: samsung: include linux/array_size.h where needed
https://git.kernel.org/krzk/linux/c/4c57930f68d90e0d52c396d058cfa9ed8447a6c4
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>