From: Shaik Ameer Basha Date: Tue, 16 Oct 2012 12:39:08 +0000 (-0300) Subject: [media] s5p-fimc: fix variable type in fimc_device_run() X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=a63bafd8e3a48263983e046ba34607d1ceb1743b;p=linux-edison.git [media] s5p-fimc: fix variable type in fimc_device_run() In fimc_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/s5p-fimc/fimc-m2m.c b/drivers/media/platform/s5p-fimc/fimc-m2m.c index 4500e44f685..4c4e9010511 100644 --- a/drivers/media/platform/s5p-fimc/fimc-m2m.c +++ b/drivers/media/platform/s5p-fimc/fimc-m2m.c @@ -105,7 +105,7 @@ static void fimc_device_run(void *priv) struct fimc_frame *sf, *df; struct fimc_dev *fimc; unsigned long flags; - u32 ret; + int ret; if (WARN(!ctx, "Null context\n")) return;