Re: [PATCH 4/5] dev: Add dev_vprintk_emit and dev_printk_emit

2012-09-25 Thread Geert Uytterhoeven
On Sun, Aug 26, 2012 at 1:25 PM, Joe Perches wrote: > --- a/include/linux/device.h > +++ b/include/linux/device.h > @@ -914,6 +918,13 @@ int _dev_info(const struct device *dev, const char *fmt, > ...); > > #else > > +static int dev_vprintk_emit(int level, const struct device *dev, Missing "inli

[PATCH 4/5] dev: Add dev_vprintk_emit and dev_printk_emit

2012-09-12 Thread Joe Perches
Add utility functions to consolidate the use of create_syslog_header and vprintk_emit. This allows conversion of logging functions that call create_syslog_header and then call vprintk_emit or printk_emit to the dev_ equivalents. Signed-off-by: Joe Perches Acked-by: David S. Miller Tested-by: Ji

[PATCH 4/5] dev: Add dev_vprintk_emit and dev_printk_emit

2012-08-26 Thread Joe Perches
Add utility functions to consolidate the use of create_syslog_header and vprintk_emit. This allows conversion of logging functions that call create_syslog_header and then call vprintk_emit or printk_emit to the dev_ equivalents. Signed-off-by: Joe Perches --- drivers/base/core.c| 27 +