From: Shaik Ameer Basha Date: Tue, 16 Oct 2012 12:38:34 +0000 (-0300) Subject: [media] exynos-gsc: fix variable type in gsc_m2m_device_run() X-Git-Tag: firefly_0821_release~3680^2~275^2~890 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4bd0e030aadaba4a0e8fd5c0233d7e61f2e6207d;p=firefly-linux-kernel-4.4.55.git [media] exynos-gsc: fix variable type in gsc_m2m_device_run() In gsc_m2m_device_run(), variable "ret" is accepting signed integer values. But currently it is defined as u32. This patch will modify the type of "ret" variable to "int". Signed-off-by: Shaik Ameer Basha Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c b/drivers/media/platform/exynos-gsc/gsc-m2m.c index 3c7f00577bd9..047f0f0434ec 100644 --- a/drivers/media/platform/exynos-gsc/gsc-m2m.c +++ b/drivers/media/platform/exynos-gsc/gsc-m2m.c @@ -122,7 +122,7 @@ static void gsc_m2m_device_run(void *priv) struct gsc_ctx *ctx = priv; struct gsc_dev *gsc; unsigned long flags; - u32 ret; + int ret; bool is_set = false; if (WARN(!ctx, "null hardware context\n"))