diff options
author | Joe Perches <joe@perches.com> | 2010-06-27 01:02:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-04 10:40:17 -0700 |
commit | 99bcf217183e02ebae46373896fba7f12d588001 (patch) | |
tree | 03210a8c57e33b2b5073f80f9a7f818c84f4c83a /include/linux/netdevice.h | |
parent | 7db6f5fb65a82af03229eef104dc9899c5eecf33 (diff) |
device.h drivers/base/core.c Convert dev_<level> logging macros to functions
Reduces an x86 defconfig text and data ~55k, .6% smaller.
$ size vmlinux*
text data bss dec hex filename
7205273 716016 1366288 9287577 8db799 vmlinux
7258890 719768 1366288 9344946 8e97b2 vmlinux.master
Uses %pV and struct va_format
Format arguments are verified before printk
The dev_info macro is converted to _dev_info because there are
existing uses of variables named dev_info in the kernel tree
like drivers/net/pcmcia/pcnet_cs.c
A dev_info macro is created to call _dev_info
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>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions