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

Michael Ellerman patch-notifications at ellerman.id.au
Wed May 6 12:51:05 AEST 2020


On Wed, 2020-04-29 at 10:00:48 UTC, Xiongfeng Wang 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>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/43c8a496fa37187b54f7df71fb8262acc6bf6200

cheers


More information about the Linuxppc-dev mailing list