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

Jani Nikula jani.nikula at intel.com
Fri Apr 5 09:57:17 UTC 2024


On Thu, 04 Apr 2024, Aishwarya TCV <aishwarya.tcv at arm.com> wrote:
> Observed warning "include/drm/drm_print.h:536:35: warning: '%4.4s'
> directive argument is null [-Wformat-overflow=]" when building the
> modules with "defconfig+kselftest-ftrace"(
> https://github.com/torvalds/linux/blob/master/tools/testing/selftests/ftrace/config
> ) against next-master(next-20240404) kernel with Arm64 in our CI.
>
> A bisect identified a61ddb4393ad1be61d2ffd92576d42707b05be17 as the
> first bad commit. Bisected it on the tag "next-20240326" at repo
> "https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git".
>
> I understand that you are turning on the warning here, thought worth
> mentioning about the observation.

Thanks for the report. I can't reproduce this myself, but please see if
[1] fixes the issue.


BR,
Jani.

[1] https://lore.kernel.org/dri-devel/20240405092907.2334007-1-jani.nikula@intel.com


-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list