Re: [PATCH 07/10] bcm63xx: fix typo when printing CPU frequency

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

 



On Sun, May 31, 2009 at 08:29:49PM +0200, Florian Fainelli wrote:

> This patch corrects the comment about the CPU
> frequency which is actually printed in Hz and not MHz.
> 
> Signed-off-by: Florian Fainelli <florian@xxxxxxxxxxx>
> ---
> diff --git a/arch/mips/bcm63xx/cpu.c b/arch/mips/bcm63xx/cpu.c
> index 0a403dd..410c788 100644
> --- a/arch/mips/bcm63xx/cpu.c
> +++ b/arch/mips/bcm63xx/cpu.c
> @@ -238,7 +238,7 @@ void __init bcm63xx_cpu_init(void)
>  
>  	printk(KERN_INFO "Detected Broadcom 0x%04x CPU revision %02x\n",
>  	       bcm63xx_cpu_id, bcm63xx_cpu_rev);
> -	printk(KERN_INFO "CPU frequency is %u MHz\n",
> +	printk(KERN_INFO "CPU frequency is %u Hz\n",

While technically ok I would suggest to print the number in MHz.  Acuracy
probably doesn't matter so even rounding to whole MHz would be ok.

Want me to apply anyway?

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux