[PATCH 07/11] net/console: switch to pr_xxx

Sascha Hauer s.hauer at pengutronix.de
Sat Mar 9 05:19:03 EST 2013


On Fri, Mar 08, 2013 at 06:43:49PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 18:25 Fri 08 Mar     , Sascha Hauer wrote:
> > On Fri, Mar 08, 2013 at 12:59:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > > ---
> > >  net/netconsole.c |    4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/net/netconsole.c b/net/netconsole.c
> > > index 7d0f3f4..8db8356 100644
> > > --- a/net/netconsole.c
> > > +++ b/net/netconsole.c
> > > @@ -185,7 +185,7 @@ static int netconsole_init(void)
> > >  
> > >  	ret = console_register(cdev);
> > >  	if (ret) {
> > > -		printf("netconsole: registering failed with %s\n", strerror(-ret));
> > > +		pr_err("netconsole: registering failed with %s\n", strerror(-ret));
> > 
> > Same comment as I already made: Please use pr_fmt
> can you apply the other one
> 
> I'll resend just this one

Fixed this myself.

Sascha

> 
> Best Regards,
> J.
> > 
> > Sascha
> > 
> > -- 
> > Pengutronix e.K.                           |                             |
> > Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> > Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list