[PATCH] video: exynos: node variable should not be unsigned
Minkyu Kang
promsoft at gmail.com
Tue Feb 3 02:44:18 CET 2026
Dear Andrew Goodbody,
2025년 10월 1일 (수) 01:43, Andrew Goodbody <andrew.goodbody at linaro.org>님이 작성:
> THe variable 'node' is assigned a value of an int, tested for being less
> than or equal to zero then passed as an argument to a function that
> takes an int so 'node' should not be unsigned. Fix it.
>
> This issue was found by Smatch.
>
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> ---
> drivers/video/exynos/exynos_fb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/exynos/exynos_fb.c
> b/drivers/video/exynos/exynos_fb.c
> index
> 0407a3f51b0d0b3dbb43e2979055208540d5549a..1cc1bd92e5712a8d3b43ac6fac61a4543e4bcca3
> 100644
> --- a/drivers/video/exynos/exynos_fb.c
> +++ b/drivers/video/exynos/exynos_fb.c
> @@ -350,7 +350,7 @@ void exynos_fimd_window_off(struct exynos_fb_priv
> *priv, unsigned int win_id)
> void exynos_fimd_disable_sysmmu(void)
> {
> u32 *sysmmufimd;
> - unsigned int node;
> + int node;
> int node_list[2];
> int count;
> int i;
>
> ---
> base-commit: 9710d98e8942151fc0c62d54100d9d27e8263d04
> change-id: 20250930-video_exynos-d69056506545
>
> Best regards,
> --
> Andrew Goodbody <andrew.goodbody at linaro.org>
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
>
More information about the U-Boot
mailing list