]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[media] wl128x: use KERNEL_CONT where needed
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 10:33:00 +0000 (07:33 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 18 Nov 2016 11:37:24 +0000 (09:37 -0200)
Some continuation messages are not using KERNEL_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/radio/wl128x/fmdrv_common.c

index 6f254e80ffa6790c04fcf5825f2486fd4e2f0df3..4be07656fbc0c4223c90cb51857f758688c550bb 100644 (file)
@@ -212,14 +212,14 @@ inline void dump_tx_skb_data(struct sk_buff *skb)
 
        len_org = skb->len - FM_CMD_MSG_HDR_SIZE;
        if (len_org > 0) {
-               printk("\n   data(%d): ", cmd_hdr->dlen);
+               printk(KERN_CONT "\n   data(%d): ", cmd_hdr->dlen);
                len = min(len_org, 14);
                for (index = 0; index < len; index++)
-                       printk("%x ",
+                       printk(KERN_CONT "%x ",
                               skb->data[FM_CMD_MSG_HDR_SIZE + index]);
-               printk("%s", (len_org > 14) ? ".." : "");
+               printk(KERN_CONT "%s", (len_org > 14) ? ".." : "");
        }
-       printk("\n");
+       printk(KERN_CONT "\n");
 }
 
  /* To dump incoming FM Channel-8 packets */
@@ -237,14 +237,14 @@ inline void dump_rx_skb_data(struct sk_buff *skb)
 
        len_org = skb->len - FM_EVT_MSG_HDR_SIZE;
        if (len_org > 0) {
-               printk("\n   data(%d): ", evt_hdr->dlen);
+               printk(KERN_CONT "\n   data(%d): ", evt_hdr->dlen);
                len = min(len_org, 14);
                for (index = 0; index < len; index++)
-                       printk("%x ",
+                       printk(KERN_CONT "%x ",
                               skb->data[FM_EVT_MSG_HDR_SIZE + index]);
-               printk("%s", (len_org > 14) ? ".." : "");
+               printk(KERN_CONT "%s", (len_org > 14) ? ".." : "");
        }
-       printk("\n");
+       printk(KERN_CONT "\n");
 }
 #endif