From: Arnd Bergmann <arnd@kernel.org>
To: "Alex Deucher" <alexander.deucher@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>
Cc: Yong Zhao <Yong.Zhao@amd.com>, Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org,
Huang Rui <ray.huang@amd.com>,
dri-devel@lists.freedesktop.org, Likun Gao <Likun.Gao@amd.com>,
Evan Quan <evan.quan@amd.com>, Leo Liu <leo.liu@amd.com>,
Hawking Zhang <Hawking.Zhang@amd.com>
Subject: [PATCH 5/5] drm/amdgpu: disable -Woverride-init warning
Date: Mon, 26 Oct 2020 22:00:33 +0100 [thread overview]
Message-ID: <20201026210039.3884312-5-arnd@kernel.org> (raw)
In-Reply-To: <20201026210039.3884312-1-arnd@kernel.org>
From: Arnd Bergmann <arnd@arndb.de>
Building with 'make W=1' produces countless warnings like
amdgpu/../include/vega10_ip_offset.h:276:51: warning: initialized field overwritten [-Woverride-init]
Shut these up by disabling the particular warning in the
amdgpu driver.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/gpu/drm/amd/amdgpu/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile
index 247dd46e1681..5a46949bc17c 100644
--- a/drivers/gpu/drm/amd/amdgpu/Makefile
+++ b/drivers/gpu/drm/amd/amdgpu/Makefile
@@ -36,7 +36,8 @@ ccflags-y := -I$(FULL_AMD_PATH)/include/asic_reg \
-I$(FULL_AMD_DISPLAY_PATH)/include \
-I$(FULL_AMD_DISPLAY_PATH)/dc \
-I$(FULL_AMD_DISPLAY_PATH)/amdgpu_dm \
- -I$(FULL_AMD_PATH)/amdkfd
+ -I$(FULL_AMD_PATH)/amdkfd \
+ -Wno-override-init
amdgpu-y := amdgpu_drv.o
--
2.27.0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
prev parent reply other threads:[~2020-10-26 21:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 21:00 [PATCH 1/5] drm/amdgpu: fix enum mismatches Arnd Bergmann
2020-10-26 21:00 ` [PATCH 2/5] drm/amdgpu: fix incorrect enum type Arnd Bergmann
2020-10-30 3:44 ` Alex Deucher
2020-10-26 21:00 ` [PATCH 3/5] drm/amdgpu: fix enum odm_combine_mode mismatch Arnd Bergmann
2020-10-26 21:00 ` [PATCH 4/5] drm/amdgpu: fix build_coefficients() argument Arnd Bergmann
2020-10-30 3:53 ` Alex Deucher
2020-10-30 17:04 ` Harry Wentland
2020-10-30 17:45 ` Alex Deucher
2020-10-26 21:00 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201026210039.3884312-5-arnd@kernel.org \
--to=arnd@kernel.org \
--cc=Hawking.Zhang@amd.com \
--cc=Likun.Gao@amd.com \
--cc=Yong.Zhao@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=arnd@arndb.de \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=evan.quan@amd.com \
--cc=leo.liu@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ray.huang@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox