Remove multiple KERN_ prefixes from printk formats
Commit 5fd29d6ccb
("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_<level> prefixes are no longer emitted as
before the patch.
<level> is now included in the output on each additional use.
Remove all uses of multiple KERN_<level>s in formats.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e3288775ff
commit
ad361c9884
@@ -1698,13 +1698,13 @@ static int netdev_close(struct net_device *dev)
|
||||
|
||||
#ifdef __i386__
|
||||
if (netif_msg_hw(np)) {
|
||||
printk("\n"KERN_DEBUG" Tx ring at %8.8x:\n",
|
||||
printk(KERN_DEBUG " Tx ring at %8.8x:\n",
|
||||
(int)(np->tx_ring_dma));
|
||||
for (i = 0; i < TX_RING_SIZE; i++)
|
||||
printk(" #%d desc. %4.4x %8.8x %8.8x.\n",
|
||||
printk(KERN_DEBUG " #%d desc. %4.4x %8.8x %8.8x.\n",
|
||||
i, np->tx_ring[i].status, np->tx_ring[i].frag[0].addr,
|
||||
np->tx_ring[i].frag[0].length);
|
||||
printk("\n"KERN_DEBUG " Rx ring %8.8x:\n",
|
||||
printk(KERN_DEBUG " Rx ring %8.8x:\n",
|
||||
(int)(np->rx_ring_dma));
|
||||
for (i = 0; i < /*RX_RING_SIZE*/4 ; i++) {
|
||||
printk(KERN_DEBUG " #%d desc. %4.4x %4.4x %8.8x\n",
|
||||
|
Reference in New Issue
Block a user