From: Sergei Shtylyov Date: Wed, 20 Aug 2014 19:12:54 +0000 (-0300) Subject: [media] rcar_vin: fix error message in rcar_vin_get_formats() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=197a47f2d51022c613bc7bf40953a0fa3497b9c5;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [media] rcar_vin: fix error message in rcar_vin_get_formats() The dev_err() call is supposed to output x in decimal but one of the format specifiers is "%x" instead of "%u" (most probably due to a typo). Signed-off-by: Sergei Shtylyov Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/soc_camera/rcar_vin.c b/drivers/media/platform/soc_camera/rcar_vin.c index b122c2cf5b85..20defcb8b31b 100644 --- a/drivers/media/platform/soc_camera/rcar_vin.c +++ b/drivers/media/platform/soc_camera/rcar_vin.c @@ -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; }