RE: [PATCH 3/5] mips: msp71xx/serial: convert to pr_foo() helpers

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

 



Acked-by:  Anoop P A<Anoop_P.A@xxxxxxxxxxxxxx>


> -----Original Message-----
> From: linux-mips-bounce@xxxxxxxxxxxxxx
[mailto:linux-mips-bounce@linux-
> mips.org] On Behalf Of Jamie Iles
> Sent: Monday, August 15, 2011 2:48 PM
> To: linux-serial@xxxxxxxxxxxxxxx
> Cc: arnd@xxxxxxxx; Jamie Iles; Ralf Baechle
> Subject: [PATCH 3/5] mips: msp71xx/serial: convert to pr_foo() helpers
> 
> Convert to pr_foo() helpers rather than printk(KERN_.*).
> 
> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> Cc: Signed-off-by: Jamie Iles <jamie@xxxxxxxxxxxxx>
> ---
>  arch/mips/pmc-sierra/msp71xx/msp_serial.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/mips/pmc-sierra/msp71xx/msp_serial.c
b/arch/mips/pmc-
> sierra/msp71xx/msp_serial.c
> index f726162..c3247b5 100644
> --- a/arch/mips/pmc-sierra/msp71xx/msp_serial.c
> +++ b/arch/mips/pmc-sierra/msp71xx/msp_serial.c
> @@ -65,7 +65,7 @@ void __init msp_serial_setup(void)
>  	up.line         = 0;
>  	up.private_data		= (void*)UART0_STATUS_REG;
>  	if (early_serial_setup(&up))
> -		printk(KERN_ERR "Early serial init of port 0 failed\n");
> +		pr_err("Early serial init of port 0 failed\n");
> 
>  	/* Initialize the second serial port, if one exists */
>  	switch (mips_machtype) {
> @@ -89,5 +89,5 @@ void __init msp_serial_setup(void)
>  	up.line         = 1;
>  	up.private_data		= (void*)UART1_STATUS_REG;
>  	if (early_serial_setup(&up))
> -		printk(KERN_ERR "Early serial init of port 1 failed\n");
> +		pr_err("Early serial init of port 1 failed\n");
>  }
> --
> 1.7.4.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe
linux-serial" in the
> body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at
> http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux