diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-14 07:39:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 09:37:49 -0200 |
commit | 6dc3a355633b97c03950478563807ab72b18f94b (patch) | |
tree | 5c09bfc9a3c7ac620829b36d19366f480358c95d /drivers/media/usb/pvrusb2 | |
parent | ac2ac8376eae2c7c7abb90732c967942510410b4 (diff) | |
download | blackbird-op-linux-6dc3a355633b97c03950478563807ab72b18f94b.tar.gz blackbird-op-linux-6dc3a355633b97c03950478563807ab72b18f94b.zip |
[media] pvrusb2: use KERNEL_CONT where needed
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>
Diffstat (limited to 'drivers/media/usb/pvrusb2')
-rw-r--r-- | drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c b/drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c index 48d837e39a9c..cc63e5f4c26c 100644 --- a/drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c +++ b/drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c @@ -491,18 +491,18 @@ static int pvr2_i2c_xfer(struct i2c_adapter *i2c_adap, "read" : "write")); if ((ret > 0) || !(msgs[idx].flags & I2C_M_RD)) { if (cnt > 8) cnt = 8; - printk(" ["); + printk(KERN_CONT " ["); for (offs = 0; offs < (cnt>8?8:cnt); offs++) { - if (offs) printk(" "); - printk("%02x",msgs[idx].buf[offs]); + if (offs) printk(KERN_CONT " "); + printk(KERN_CONT "%02x",msgs[idx].buf[offs]); } - if (offs < cnt) printk(" ..."); - printk("]"); + if (offs < cnt) printk(KERN_CONT " ..."); + printk(KERN_CONT "]"); } if (idx+1 == num) { - printk(" result=%d",ret); + printk(KERN_CONT " result=%d",ret); } - printk("\n"); + printk(KERN_CONT "\n"); } if (!num) { printk(KERN_INFO |