netdevice.h net/core/dev.c: Convert netdev_<level> logging macros to functions
authorJoe Perches <joe@perches.com>
Sun, 27 Jun 2010 01:02:35 +0000 (01:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Jul 2010 17:40:18 +0000 (10:40 -0700)
commit256df2f3879efdb2e9808bdb1b54b16fbb11fa38
treeec7bd8e1e6d7d7066542420641ccd68e98e42bfa
parent99bcf217183e02ebae46373896fba7f12d588001
netdevice.h net/core/dev.c: Convert netdev_<level> logging macros to functions

Reduces an x86 defconfig text and data ~2k.
text is smaller, data is larger.

$ size vmlinux*
   text    data     bss     dec     hex filename
7198862  720112 1366288 9285262  8dae8e vmlinux
7205273  716016 1366288 9287577  8db799 vmlinux.device_h

Uses %pV and struct va_format
Format arguments are verified before printk

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c