Re: [PATCH] Move static keyword at beginning of declaration

From: Geoff Levand
Date: Sat Feb 02 2019 - 12:56:10 EST


On 2/2/19 5:05 AM, Mathieu Malaterre wrote:
> Move the static keyword around to remove the following warnings (W=1):
>
> arch/powerpc/platforms/ps3/os-area.c:212:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]
> arch/powerpc/platforms/ps3/system-bus.c:45:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]
>
> -struct saved_params {
> +static struct saved_params {
> unsigned int valid;
> s64 rtc_diff;
> unsigned int av_multi_out;
> -} static saved_params;
> +} saved_params;

Seems fine.

Acked-by: Geoff Levand <geoff@xxxxxxxxxxxxx>