Re: [PATCH] h8300: Storage class should be before const qualifier

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

 



On Mon, 9 Feb 2009, Tobias Klauser wrote:

> The C99 specification states in section 6.11.5:
> 
> The placement of a storage-class specifier other than at the beginning
> of the declaration specifiers in a declaration is an obsolescent
> feature.
> 
> Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
> ---
>  arch/h8300/kernel/timer/tpu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/h8300/kernel/timer/tpu.c b/arch/h8300/kernel/timer/tpu.c
> index df7f453..79ae1db 100644
> --- a/arch/h8300/kernel/timer/tpu.c
> +++ b/arch/h8300/kernel/timer/tpu.c
> @@ -68,7 +68,7 @@ static struct irqaction tpu_irq = {
>  	.mask		= CPU_MASK_NONE,
>  };
>  
> -const static int __initdata divide_rate[] = {
> +static const int __initdata divide_rate[] = {
>  #if CONFIG_H8300_TPU_CH == 0
>  	1,4,16,64,0,0,0,0,
>  #elif (CONFIG_H8300_TPU_CH == 1) || (CONFIG_H8300_TPU_CH == 5)

This doesn't seem to be picked by anyone for current -next/-mmotm, I have 
applied it to trivial tree. Thanks,

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

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux