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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> > ---
> >  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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux