OSDN Git Service

[media] rcar_vin: fix error message in rcar_vin_get_formats()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 20 Aug 2014 19:12:54 +0000 (16:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 26 Sep 2014 09:47:43 +0000 (06:47 -0300)
The dev_err() call is supposed to output <width>x<height> in decimal but one of
the format specifiers is "%x" instead of "%u" (most probably due  to a typo).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/rcar_vin.c

index b122c2c..20defcb 100644 (file)
@@ -981,7 +981,7 @@ static int rcar_vin_get_formats(struct soc_camera_device *icd, unsigned int idx,
 
                if (shift == 3) {
                        dev_err(dev,
-                               "Failed to configure the client below %ux%x\n",
+                               "Failed to configure the client below %ux%u\n",
                                mf.width, mf.height);
                        return -EIO;
                }