[media] wl128x: use KERNEL_CONT where needed
Some continuation messages are not using KERNEL_CONT.
Since commit 563873318d
("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>
This commit is contained in:
parent
623b2f4a67
commit
ac2ac8376e
|
@ -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)
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue