Thread (15 messages) 15 messages, 7 authors, 2023-08-28

Re: [PATCH (set 1) 00/20] Rid W=1 warnings from GPU

From: Maxime Ripard <mripard@kernel.org>
Date: 2023-08-24 09:17:33
Also in: amd-gfx, dri-devel, linux-media, linux-tegra, lkml, nouveau

On Thu, Aug 24, 2023 at 12:03:20PM +0300, Jani Nikula wrote:
On Thu, 24 Aug 2023, Lee Jones [off-list ref] wrote:
quoted
This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.
The next question is, how do we keep it W=1 clean going forward?

Most people don't use W=1 because it's too noisy, so it's a bit of a
catch-22.

In i915, we enable a lot of W=1 warnings using subdir-ccflags-y in our
Makefile. For CI/developer use we also enable kernel-doc warnings by
default.

Should we start enabling some of those warning flags in drm/Makefile to
to keep the entire subsystem warning free?
I think that's a good idea. At least the documentation fixes I just
merged could have been easily caught before submission.

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help