Re: [PATCH] drm: enable warnings on unused static inlines

2024-09-10 Thread Jani Nikula
On Thu, 05 Sep 2024, Jani Nikula wrote: > On Wed, 04 Sep 2024, Nathan Chancellor wrote: >> I ran this through my test matrix and this is what it found (across >> various configuration options, I can give specifics as necessary): > > Thanks, I didn't really expect this would not catch anything. :)

Re: [PATCH] drm: enable warnings on unused static inlines

2024-09-05 Thread Jani Nikula
On Wed, 04 Sep 2024, Nathan Chancellor wrote: > Hi Jani, > > On Wed, Sep 04, 2024 at 03:38:19PM +0300, Jani Nikula wrote: >> We enable most W=1 warnings by default subsystem wide. Also enable >> warnings on unused static inlines when building with clang. >> >> See also commit 6863f5643dd7 ("kbuil

Re: [PATCH] drm: enable warnings on unused static inlines

2024-09-04 Thread Nathan Chancellor
Hi Jani, On Wed, Sep 04, 2024 at 03:38:19PM +0300, Jani Nikula wrote: > We enable most W=1 warnings by default subsystem wide. Also enable > warnings on unused static inlines when building with clang. > > See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static > inline functions

[PATCH] drm: enable warnings on unused static inlines

2024-09-04 Thread Jani Nikula
We enable most W=1 warnings by default subsystem wide. Also enable warnings on unused static inlines when building with clang. See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static inline functions for W=1 build"). Cc: Nathan Chancellor Signed-off-by: Jani Nikula --- drivers