* [PATCH resend] rcar_vin: fix error message in rcar_vin_get_formats()
@ 2014-08-20 19:11 Sergei Shtylyov
2014-08-20 19:12 ` Sergei Shtylyov
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Shtylyov @ 2014-08-20 19:11 UTC (permalink / raw)
To: g.liakhovetski, mchehab, linux-media; +Cc: linux-sh
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>
---
The patch is against the 'media_tree.git' repo's 'fixes' branch.
Resending with Mauro's current address...
drivers/media/platform/soc_camera/rcar_vin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: media_tree/drivers/media/platform/soc_camera/rcar_vin.c
=================================--- media_tree.orig/drivers/media/platform/soc_camera/rcar_vin.c
+++ media_tree/drivers/media/platform/soc_camera/rcar_vin.c
@@ -981,7 +981,7 @@ static int rcar_vin_get_formats(struct s
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH resend] rcar_vin: fix error message in rcar_vin_get_formats()
2014-08-20 19:11 [PATCH resend] rcar_vin: fix error message in rcar_vin_get_formats() Sergei Shtylyov
@ 2014-08-20 19:12 ` Sergei Shtylyov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2014-08-20 19:12 UTC (permalink / raw)
To: g.liakhovetski, m.chehab, linux-media; +Cc: linux-sh
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>
---
The patch is against the 'media_tree.git' repo's 'fixes' branch.
Resending with Mauro's current address (again)...
drivers/media/platform/soc_camera/rcar_vin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: media_tree/drivers/media/platform/soc_camera/rcar_vin.c
=================================--- media_tree.orig/drivers/media/platform/soc_camera/rcar_vin.c
+++ media_tree/drivers/media/platform/soc_camera/rcar_vin.c
@@ -981,7 +981,7 @@ static int rcar_vin_get_formats(struct s
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-20 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 19:11 [PATCH resend] rcar_vin: fix error message in rcar_vin_get_formats() Sergei Shtylyov
2014-08-20 19:12 ` Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).