OSDN Git Service

[media] pluto2: use KERN_CONT where needed
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 10:14:37 +0000 (07:14 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 18 Nov 2016 11:35:46 +0000 (09:35 -0200)
Some continuation messages are not using KERN_CONT.

Since commit 563873318d32 ("Merge branch 'printk-cleanups"),
this won't work as expected anymore. So, let's add KERN_CONT
to those lines.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/pluto2/pluto2.c

index 655d685..65afb71 100644 (file)
@@ -577,12 +577,12 @@ static int pluto_read_serial(struct pluto *pluto)
                for (j = 0; j < 32; j += 8) {
                        if ((val & 0xff) == 0xff)
                                goto out;
-                       printk("%c", val & 0xff);
+                       printk(KERN_CONT "%c", val & 0xff);
                        val >>= 8;
                }
        }
 out:
-       printk("\n");
+       printk(KERN_CONT "\n");
        pci_iounmap(pdev, cis);
 
        return 0;