[PATCH] powerpc/ps3: Move static keyword to the front of declaration

Geert Uytterhoeven geert at linux-m68k.org
Wed Apr 29 20:13:24 AEST 2020


On Wed, Apr 29, 2020 at 12:07 PM Xiongfeng Wang
<wangxiongfeng2 at huawei.com> wrote:
> Move the static keyword to the front of declaration of 'vuart_bus_priv',
> and resolve the following compiler warning that can be seen when
> building with warnings enabled (W=1):
>
> drivers/ps3/ps3-vuart.c:867:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
>  } static vuart_bus_priv;
>  ^
>
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Xiongfeng Wang <wangxiongfeng2 at huawei.com>

Reviewed-by: Geert Uytterhoeven <geert at linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the Linuxppc-dev mailing list