Re: New warnings with gcc-11

2021-05-10 Thread Jani Nikula
On Sat, 08 May 2021, Linus Torvalds wrote: > I have heard nothing about this, and it remains the only warning from > my allmodconfig build (I have another one for drm compiled with clang, > but there I at least heard back that a fix exists). > > Since I am going to release rc1 tomorrow, and I don'

Re: New warnings with gcc-11

2021-05-08 Thread Linus Torvalds
I have heard nothing about this, and it remains the only warning from my allmodconfig build (I have another one for drm compiled with clang, but there I at least heard back that a fix exists). Since I am going to release rc1 tomorrow, and I don't want to release it with an ugly compiler warning, I

Re: New warnings with gcc-11

2021-04-28 Thread Jani Nikula
On Tue, 27 Apr 2021, Linus Torvalds wrote: > I've updated to Fedora 34 on one of my machines, and it causes a lot > of i915 warnings like > > drivers/gpu/drm/i915/intel_pm.c: In function ‘ilk_setup_wm_latency’: > drivers/gpu/drm/i915/intel_pm.c:3059:9: note: referencing argument 3 > of type ‘c

Re: New warnings with gcc-11

2021-04-27 Thread Linus Torvalds
On Tue, Apr 27, 2021 at 4:43 PM Linus Torvalds wrote: > > I think I will make the argument type to intel_print_wm_latency() be > just "const u16 wm[]" for now, just to avoid seeing a ton of silly > warnings. After fixing the trivial ones, this one remains: drivers/gpu/drm/i915/display/intel_dp