[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8b5de881-2109-6f75-68e3-9c8c743b483e@amd.com>
Date: Thu, 5 Sep 2019 18:34:01 +0000
From: Harry Wentland <hwentlan@....com>
To: Krzysztof Wilczynski <kw@...ux.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>
CC: "Wentland, Harry" <Harry.Wentland@....com>,
"Li, Sun peng (Leo)" <Sunpeng.Li@....com>,
"Deucher, Alexander" <Alexander.Deucher@....com>,
"Koenig, Christian" <Christian.Koenig@....com>,
"Zhou, David(ChunMing)" <David1.Zhou@....com>,
"Lakha, Bhawanpreet" <Bhawanpreet.Lakha@....com>,
"Cheng, Tony" <Tony.Cheng@....com>, "Lei, Jun" <Jun.Lei@....com>,
"Francis, David" <David.Francis@....com>,
"Kazlauskas, Nicholas" <Nicholas.Kazlauskas@....com>,
"Laktyushkin, Dmytro" <Dmytro.Laktyushkin@....com>,
"Liu, Wenjing" <Wenjing.Liu@....com>,
"Koo, Anthony" <Anthony.Koo@....com>,
Aidan Wood <Aidan.Wood@....com>,
"Park, Chris" <Chris.Park@....com>,
"Yang, Eric" <Eric.Yang2@....com>,
"amd-gfx@...ts.freedesktop.org" <amd-gfx@...ts.freedesktop.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/amd/display: Move static keyword to the front of
declaration
On 2019-09-05 2:33 p.m., Krzysztof Wilczynski wrote:
> Move the static keyword to the front of declaration of DC_BUILD_ID,
> and resolve the following compiler warning that can be seen when
> building with warnings enabled (W=1):
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:75:1: warning:
> ‘static’ is not at beginning of declaration [-Wold-style-declaration]
>
> Signed-off-by: Krzysztof Wilczynski <kw@...ux.com>
Reviewed-by: Harry Wentland <harry.wentland@....com>
Harry
> ---
> Related: https://lore.kernel.org/r/20190827233017.GK9987@google.com
>
> drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index 87ca5a290d12..a5a89bc0e1d1 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -72,7 +72,7 @@
> #define DC_LOGGER \
> dc->ctx->logger
>
> -const static char DC_BUILD_ID[] = "production-build";
> +static const char DC_BUILD_ID[] = "production-build";
>
> /**
> * DOC: Overview
>
Powered by blists - more mailing lists