On 05/04/2024 10:57, Jani Nikula wrote: > On Thu, 04 Apr 2024, Aishwarya TCV <aishwarya.tcv@xxxxxxx> 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@xxxxxxxxx > > Thanks, as expected this fixes the issue. Tested the attached patch by building the modules with "defconfig+kselftest-ftrace" against next-20240405 kernel with Arm64. Tested-by: Aishwarya TCV <aishwarya.tcv@xxxxxxx>