[media] gsc-m2m: Use an unsigned data type for a variable
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 19 Dec 2015 14:28:37 +0000 (12:28 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:15:37 +0000 (15:15 -0200)
commitd5441ea58ccc70637b75b035dee61685b516a5ca
treeec5f0d7422b5df9d38073aa77f5b3b2516e9a727
parent0d2f79c2bb34d9a9631a43b8d5ea7f2968564a6a
[media] gsc-m2m: Use an unsigned data type for a variable

The data type "int" was used by the variable "ret" in the
gsc_m2m_poll() function despite of the aspect that the type "unsigned int"
will usually be needed for the return value from a call of the
v4l2_m2m_poll() function.
Improve this implementation detail by addition of the type modifier then.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/exynos-gsc/gsc-m2m.c