[media] drivers/media/video: Update WARN uses
authorJoe Perches <joe@perches.com>
Sat, 30 Oct 2010 21:08:31 +0000 (18:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:39 +0000 (08:16 -0200)
Add missing newlines.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-core.c
drivers/media/video/sr030pc30.c

index bb99f2d805d3347975e0ff32603bd2f7b8f44e20..817aa66627f64959c6ad0c0e5da3a850862530a0 100644 (file)
@@ -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;
index c9dc67aba980addbd01c1d43db9ab3bbe02b7640..864696b7a006e5e3ca8965dd33e23d0d59c6128f 100644 (file)
@@ -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;
 
        /*