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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Mar 8 12:43:49 EST 2013


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

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 |



More information about the barebox mailing list