Skip to content

Commit

Permalink
[media] exynos-gsc: fix variable type in gsc_m2m_device_run()
Browse files Browse the repository at this point in the history
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 <shaik.ameer@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Shaik Ameer Basha authored and Mauro Carvalho Chehab committed Oct 25, 2012
1 parent 8403543 commit 4bd0e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/exynos-gsc/gsc-m2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 4bd0e03

Please sign in to comment.