Skip to content

Commit

Permalink
[media] drivers/media/video: Update WARN uses
Browse files Browse the repository at this point in the history
Add missing newlines.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Joe Perches authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent 9e21cca commit 1ce6a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/s5p-fimc/fimc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ static void fimc_dma_run(void *priv)
unsigned long flags;
u32 ret;

if (WARN(!ctx, "null hardware context"))
if (WARN(!ctx, "null hardware context\n"))
return;

fimc = ctx->fimc_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/sr030pc30.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ static int sr030pc30_s_power(struct v4l2_subdev *sd, int on)
const struct sr030pc30_platform_data *pdata = info->pdata;
int ret;

if (WARN(pdata == NULL, "No platform data!"))
if (WARN(pdata == NULL, "No platform data!\n"))
return -ENOMEM;

/*
Expand Down

0 comments on commit 1ce6a14

Please sign in to comment.