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
@@ -569,16 +569,8 @@ static int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
|
||||
|
||||
#ifdef DEBUG_DRIVER
|
||||
/* dump the packet */
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 64; i++) {
|
||||
if ((i % 16) == 0)
|
||||
printk("\n" KERN_DEBUG);
|
||||
printk ("%2.2x ", skb->data [i]);
|
||||
}
|
||||
printk("\n");
|
||||
}
|
||||
print_hex_dump(KERN_DEBUG, "skb->data: ", DUMP_PREFIX_NONE,
|
||||
16, 1, skb->data, 64, true);
|
||||
#endif
|
||||
entry = lp->tx_new & lp->tx_ring_mod_mask;
|
||||
ib->btx_ring [entry].length = (-skblen) | 0xf000;
|
||||
|
Reference in New Issue
Block a user