can: replace the dev_dbg/info/err/... with the new netdev_xxx macros
Cc: uclinux-dist-devel@blackfin.uclinux.org Cc: Anant Gole <anantgole@ti.com> Cc: Chris Elston <celston@katalix.com> Cc: Sebastian Haas <haas@ems-wuensche.com> Cc: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Sebastian Haas <dev@sebastianhaas.info> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:

committed by
Marc Kleine-Budde

parent
79d0d8a7d5
commit
aabdfd6adb
@@ -712,8 +712,7 @@ static void mcp251x_error_skb(struct net_device *net, int can_id, int data1)
|
||||
frame->data[1] = data1;
|
||||
netif_rx_ni(skb);
|
||||
} else {
|
||||
dev_err(&net->dev,
|
||||
"cannot allocate error skb\n");
|
||||
netdev_err(net, "cannot allocate error skb\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user