netdevice.h: Add netdev_printk helpers like dev_printk
authorJoe Perches <joe@perches.com>
Tue, 9 Feb 2010 11:49:47 +0000 (11:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 21:27:44 +0000 (13:27 -0800)
These netdev_printk routines take a struct net_device * and emit
dev_printk logging messages adding "%s: " ... netdev->dev.parent
to the dev_printk format and arguments.

This can create some uniformity in the output message log.

These helpers should not be used until a successful alloc_netdev.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found