Skip to content

Commit 197a47f

Browse files
Sergei Shtylyovmchehab
authored andcommitted
[media] rcar_vin: fix error message in rcar_vin_get_formats()
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>
1 parent 2ea1244 commit 197a47f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/platform/soc_camera/rcar_vin.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ static int rcar_vin_get_formats(struct soc_camera_device *icd, unsigned int idx,
981981

982982
if (shift == 3) {
983983
dev_err(dev,
984-
"Failed to configure the client below %ux%x\n",
984+
"Failed to configure the client below %ux%u\n",
985985
mf.width, mf.height);
986986
return -EIO;
987987
}

0 commit comments

Comments
 (0)