]> git.baikalelectronics.ru Git - kernel.git/commitdiff
parisc: use KERN_CONT when printing device inventory
authorHelge Deller <deller@gmx.de>
Fri, 28 Oct 2016 18:56:07 +0000 (20:56 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 2 Nov 2016 22:04:46 +0000 (23:04 +0100)
Recent changes to printk require KERN_CONT uses to continue logging messages.
So add KERN_CONT to output of device inventory.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/drivers.c

index f8150669b8c6f4e4de827b6b3d2f8dbd586c6593..700e2d2da0969cdfeb872071fe16b5f9c32e82cf 100644 (file)
@@ -873,11 +873,11 @@ static void print_parisc_device(struct parisc_device *dev)
 
        if (dev->num_addrs) {
                int k;
-               printk(", additional addresses: ");
+               pr_cont(", additional addresses: ");
                for (k = 0; k < dev->num_addrs; k++)
-                       printk("0x%lx ", dev->addr[k]);
+                       pr_cont("0x%lx ", dev->addr[k]);
        }
-       printk("\n");
+       pr_cont("\n");
 }
 
 /**