fealnx: Fix build breakage -- PR_CONT should be KERN_CONT
Commit ad361c98
("Remove multiple KERN_ prefixes from printk formats")
broke the build for fealnx because it added some "printk(PR_CONT ..."
calls, when PR_CONT doesn't exist; it should be "printk(KERN_CONT ..."
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
1d01e83557
Коммит
2e31673080
|
@ -1216,13 +1216,13 @@ static void fealnx_tx_timeout(struct net_device *dev)
|
||||||
{
|
{
|
||||||
printk(KERN_DEBUG " Rx ring %p: ", np->rx_ring);
|
printk(KERN_DEBUG " Rx ring %p: ", np->rx_ring);
|
||||||
for (i = 0; i < RX_RING_SIZE; i++)
|
for (i = 0; i < RX_RING_SIZE; i++)
|
||||||
printk(PR_CONT " %8.8x",
|
printk(KERN_CONT " %8.8x",
|
||||||
(unsigned int) np->rx_ring[i].status);
|
(unsigned int) np->rx_ring[i].status);
|
||||||
printk(KERN_CONT "\n");
|
printk(KERN_CONT "\n");
|
||||||
printk(KERN_DEBUG " Tx ring %p: ", np->tx_ring);
|
printk(KERN_DEBUG " Tx ring %p: ", np->tx_ring);
|
||||||
for (i = 0; i < TX_RING_SIZE; i++)
|
for (i = 0; i < TX_RING_SIZE; i++)
|
||||||
printk(PR_CONT " %4.4x", np->tx_ring[i].status);
|
printk(KERN_CONT " %4.4x", np->tx_ring[i].status);
|
||||||
printk(PR_CONT "\n");
|
printk(KERN_CONT "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
spin_lock_irqsave(&np->lock, flags);
|
spin_lock_irqsave(&np->lock, flags);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче