[PATCH 0/6] drm: enable W=1 warnings by default across the subsystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx




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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux