diff options
| author | Andrew Goodbody <[email protected]> | 2025-09-30 17:43:46 +0100 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2026-02-02 18:58:44 +0900 |
| commit | de6b405e615232817322416b89bcde637ade40d4 (patch) | |
| tree | 1d5464f5f36e65bd7a6288a7cdac03eecce5d036 /drivers | |
| parent | 3f2ab427c13e4883cb5dddb4c54d3cedc0f93669 (diff) | |
video: exynos: node variable should not be unsigned
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/exynos/exynos_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/exynos/exynos_fb.c b/drivers/video/exynos/exynos_fb.c index 0407a3f51b0..1cc1bd92e57 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; |
