[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Feb 2019 09:56:00 -0800
From: Geoff Levand <geoff@...radead.org>
To: Mathieu Malaterre <malat@...ian.org>,
Michael Ellerman <mpe@...erman.id.au>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Move static keyword at beginning of declaration
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@...radead.org>
Powered by blists - more mailing lists