Commit 1ce6a143 authored by Joe Perches's avatar Joe Perches Committed by Mauro Carvalho Chehab

[media] drivers/media/video: Update WARN uses

Add missing newlines.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 9e21ccaa
...@@ -543,7 +543,7 @@ static void fimc_dma_run(void *priv) ...@@ -543,7 +543,7 @@ static void fimc_dma_run(void *priv)
unsigned long flags; unsigned long flags;
u32 ret; u32 ret;
if (WARN(!ctx, "null hardware context")) if (WARN(!ctx, "null hardware context\n"))
return; return;
fimc = ctx->fimc_dev; fimc = ctx->fimc_dev;
......
...@@ -735,7 +735,7 @@ static int sr030pc30_s_power(struct v4l2_subdev *sd, int on) ...@@ -735,7 +735,7 @@ static int sr030pc30_s_power(struct v4l2_subdev *sd, int on)
const struct sr030pc30_platform_data *pdata = info->pdata; const struct sr030pc30_platform_data *pdata = info->pdata;
int ret; int ret;
if (WARN(pdata == NULL, "No platform data!")) if (WARN(pdata == NULL, "No platform data!\n"))
return -ENOMEM; return -ENOMEM;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment