Re: [PATCH 2/2] device.h drivers/base/core.c Convert dev_<level>macros to functions

From: Andrew Morton
Date: Thu Mar 04 2010 - 19:56:25 EST

On Wed, 3 Mar 2010 22:27:23 -0800 Joe Perches <joe@xxxxxxxxxxx> wrote:

> Save ~60k in a defconfig
> Use %pV and struct va_format
> Format arguments are verified before printk

Well that doesn't work very well.

drivers/net/pcmcia/pcnet_cs.c:117: error: 'dev_info' redeclared as different kind of symbol
include/linux/device.h:645: error: previous declaration of 'dev_info' was here

there are lots of other dev_info's which will fail plus perhaps
dev_err's, etc.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at