Re: [Intel-gfx] [PATCH v2] drm/i915: fix build issue when using clang

2022-02-16 Thread Jani Nikula
On Tue, 15 Feb 2022, Nathan Chancellor wrote: > On Mon, Feb 14, 2022 at 11:58:20AM -0800, Tong Zhang wrote: >> drm/i915 adds some extra cflags, namely -Wall, which causes >> instances of -Wformat-security to appear when building with clang, even >> though this warning is turned off kernel-wide in

Re: [Intel-gfx] [PATCH v2] drm/i915: fix build issue when using clang

2022-02-16 Thread Nathan Chancellor
On Mon, Feb 14, 2022 at 11:58:20AM -0800, Tong Zhang wrote: > drm/i915 adds some extra cflags, namely -Wall, which causes > instances of -Wformat-security to appear when building with clang, even > though this warning is turned off kernel-wide in the main Makefile: > > >

[Intel-gfx] [PATCH v2] drm/i915: fix build issue when using clang

2022-02-15 Thread Tong Zhang
drm/i915 adds some extra cflags, namely -Wall, which causes instances of -Wformat-security to appear when building with clang, even though this warning is turned off kernel-wide in the main Makefile: > drivers/gpu/drm/i915/gt/intel_gt.c:983:2: error: format string is not a > string literal