All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Use -Werror by default and fix compilation warnings
@ 2022-01-10 23:39 Rodrigo Siqueira
  2022-01-10 23:39 ` [PATCH 1/4] drm/amdgpu: Treat warning as an error Rodrigo Siqueira
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Rodrigo Siqueira @ 2022-01-10 23:39 UTC (permalink / raw)
  To: Alex Deucher, Christian König, Harry Wentland, Leo Li
  Cc: nicholas.choi, amd-gfx

We have an internal CI in the display team that uses a stable version of
amd-staging-drm-next to run a set of tests (from compilation to IGT);
usually, we have to create this stable version manually. We are trying
to automate this process, but we are getting failures because we compile
display code with the flag -Werror, which means we cannot ignore
warnings in amd-staging-drm-next. In this patchset, I propose enabling
-Werror flag by default in amdgpu to make it a little bit harder to
ignore warning messages. The first patch of this series updates amdgpu
Makefile, and the other patches fix warning issues in amdgpu.

I tested this series with DCN, DCN disabled, and with `allmodconfig`; I
did not have any compilation issue.

Thanks
Siqueira

Rodrigo Siqueira (4):
  drm/amdgpu: Treat warning as an error
  drm/amdgpu: Fix compilation warning due to double semicolon
  drm/amdgpu: Drop unused variable
  drm/amdgpu: Silent GCC warning

 drivers/gpu/drm/amd/amdgpu/Makefile      | 2 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c  | 1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h  | 1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 4 ++--
 4 files changed, 5 insertions(+), 3 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-11 13:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 23:39 [PATCH 0/4] Use -Werror by default and fix compilation warnings Rodrigo Siqueira
2022-01-10 23:39 ` [PATCH 1/4] drm/amdgpu: Treat warning as an error Rodrigo Siqueira
2022-01-11 10:41   ` Michel Dänzer
2022-01-11 11:00     ` Michel Dänzer
2022-01-11 13:42       ` Rodrigo Siqueira Jordao
2022-01-10 23:39 ` [PATCH 2/4] drm/amdgpu: Fix compilation warning due to double semicolon Rodrigo Siqueira
2022-01-10 23:39 ` [PATCH 3/4] drm/amdgpu: Drop unused variable Rodrigo Siqueira
2022-01-10 23:39 ` [PATCH 4/4] drm/amdgpu: Silent GCC warning Rodrigo Siqueira
2022-01-11  2:06   ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.