Re: [PATCH 5/6] drm: enable (most) W=1 warnings by default across the subsystem

2024-01-11 Thread Jani Nikula
On Wed, 10 Jan 2024, Hamza Mahfooz wrote: > On 1/10/24 12:39, Jani Nikula wrote: >> At least the i915 and amd drivers enable a bunch more compiler warnings >> than the kernel defaults. >> >> Extend most of the W=1 warnings to the entire drm subsystem by >> default. Use the copy-pasted warnings fr

Re: [PATCH 5/6] drm: enable (most) W=1 warnings by default across the subsystem

2024-01-10 Thread Hamza Mahfooz
On 1/10/24 12:39, Jani Nikula wrote: At least the i915 and amd drivers enable a bunch more compiler warnings than the kernel defaults. Extend most of the W=1 warnings to the entire drm subsystem by default. Use the copy-pasted warnings from scripts/Makefile.extrawarn with s/KBUILD_CFLAGS/subdir-

[PATCH 5/6] drm: enable (most) W=1 warnings by default across the subsystem

2024-01-10 Thread Jani Nikula
At least the i915 and amd drivers enable a bunch more compiler warnings than the kernel defaults. Extend most of the W=1 warnings to the entire drm subsystem by default. Use the copy-pasted warnings from scripts/Makefile.extrawarn with s/KBUILD_CFLAGS/subdir-ccflags-y/ to make it easier to compare