Commit ac2ac837 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] wl128x: use KERNEL_CONT where needed

Some continuation messages are not using KERNEL_CONT.

Since commit 56387331 ("Merge branch 'printk-cleanups"),
this won't work as expected anymore. So, let's add KERN_CONT
to those lines.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 623b2f4a
...@@ -212,14 +212,14 @@ inline void dump_tx_skb_data(struct sk_buff *skb) ...@@ -212,14 +212,14 @@ inline void dump_tx_skb_data(struct sk_buff *skb)
len_org = skb->len - FM_CMD_MSG_HDR_SIZE; len_org = skb->len - FM_CMD_MSG_HDR_SIZE;
if (len_org > 0) { 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); len = min(len_org, 14);
for (index = 0; index < len; index++) for (index = 0; index < len; index++)
printk("%x ", printk(KERN_CONT "%x ",
skb->data[FM_CMD_MSG_HDR_SIZE + index]); 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 */ /* To dump incoming FM Channel-8 packets */
...@@ -237,14 +237,14 @@ inline void dump_rx_skb_data(struct sk_buff *skb) ...@@ -237,14 +237,14 @@ inline void dump_rx_skb_data(struct sk_buff *skb)
len_org = skb->len - FM_EVT_MSG_HDR_SIZE; len_org = skb->len - FM_EVT_MSG_HDR_SIZE;
if (len_org > 0) { 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); len = min(len_org, 14);
for (index = 0; index < len; index++) for (index = 0; index < len; index++)
printk("%x ", printk(KERN_CONT "%x ",
skb->data[FM_EVT_MSG_HDR_SIZE + index]); 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 #endif
......
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