[PATCH 0/6] drm: enable W=1 warnings by default across the subsystem
Jani Nikula
jani.nikula at intel.com
Wed Jan 10 17:39:10 UTC 2024
This is v2 of [1] to enable most W=1 warnings across the drm
subsystem. Some fixes first, and a CONFIG_DRM_WERROR on top.
I build tested this for x86 (both gcc and clang), arm and arm64.
BR,
Jani.
[1] https://lore.kernel.org/r/20231129181219.1237887-1-jani.nikula@intel.com
Jani Nikula (6):
drm/nouveau/acr/ga102: remove unused but set variable
drm/nouveau/svm: remove unused but set variables
drm/amdgpu: prefer snprintf over sprintf
drm/imx: prefer snprintf over sprintf
drm: enable (most) W=1 warnings by default across the subsystem
drm: Add CONFIG_DRM_WERROR
drivers/gpu/drm/Kconfig | 18 +++++++++++
drivers/gpu/drm/Makefile | 30 +++++++++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 +-
drivers/gpu/drm/imx/ipuv3/imx-ldb.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_svm.c | 10 ++-----
.../gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c | 3 +-
6 files changed, 55 insertions(+), 11 deletions(-)
--
2.39.2
More information about the Intel-gfx
mailing list