commit | 571ba42303813106d533bf6bda929d8e289f51bf | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Tue Feb 09 11:49:47 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 12 13:27:44 2010 -0800 |
tree | 72a4cac3c48dded8aeda6f3f839764b9b766fe13 | |
parent | 21809fafa042fcfff3f788419bed99f3c289745c [diff] |
netdevice.h: Add netdev_printk helpers like dev_printk 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>