]> git.karo-electronics.de Git - linux-beck.git/commit
[media] staging: media: davinci_vpfe: fix ipipe_mode type
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 21 Sep 2015 13:33:57 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 16:27:28 +0000 (14:27 -0200)
commita5c36fa6eec60bb9613d8eee907311265771b0f3
tree8042556cf4eb83bbc164db043fef812a7120efb4
parentcbb6f1f9c72313f16e97ed268b19c1ae30903b33
[media] staging: media: davinci_vpfe: fix ipipe_mode type

The variable can take negative values.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c