]> git.ipfire.org Git - thirdparty/u-boot.git/commit
video: nexell: unsigned parameter cannot be negative
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Wed, 1 Oct 2025 10:05:10 +0000 (11:05 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 3 Feb 2026 01:42:03 +0000 (10:42 +0900)
commit548e9a254c7d0bd9796decfea43d7759070c7312
tree136d71b685a7423a923a279f82c621cdaee7bbc7
parentde6b405e615232817322416b89bcde637ade40d4
video: nexell: unsigned parameter cannot be negative

The parameter 'alpha' is declared as an unsigned type so cannot be
negative. The code to test it as being less than zero will always fail
and so is redundant and should be removed.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Stefan Bosch <stefan_b@posteo.net>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/video/nexell/soc/s5pxx18_soc_mlc.c