On 3/25/21 3:53 AM, Arnd Bergmann wrote:
On Thu, Mar 25, 2021 at 9:05 AM Jani Nikula wrote:
Clearly something is wrong here, but I can't quite figure out what.
Changing the array size to 16 bytes avoids the warning, but is
probably the wrong solution here.
Ugh. drm_dp_channel_eq_ok() does not
On 3/22/21 2:29 PM, Ingo Molnar wrote:
* Arnd Bergmann wrote:
From: Arnd Bergmann
gcc-11 warns about using string operations on pointers that are
defined at compile time as offsets from a NULL pointer. Unfortunately
that also happens on the result of fix_to_virt(), which is a
compile-time c
On 2/9/19 5:31 AM, Miguel Ojeda wrote:
On Sat, Feb 9, 2019 at 12:26 PM Ard Biesheuvel
wrote:
On Sat, 9 Feb 2019 at 12:19, Miguel Ojeda
wrote:
It also affects the optimizer in two different ways AFAIK:
* For the function itself, it gets optimized for size instead of speed.
* For calle
a reduced test case and when building *outside of the kernel*,
the warnings appear again in 8.1/8.2/current 9.0, see [2] below. I
guess that is a result of the warnings requiring some optimization
passes enabled. Martin Sebor (CC'd) fixed some false positives from
what I can see in gcc'
rect sizeof() argument here copies the extra character.
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
Fixes: f7664b31975b ("xfs: implement online get/set fs label")
Cc: Eric Sandeen
Cc: Martin Sebor
Signed-off-by: Arnd Bergmann
Signed-off-by: Eric Sandeen
---
diff --git a/fs/
problem, and the simplest workaround.
Fixes: 499ac3b60f65 ("test_rhashtable: add test case for rhltable with duplicate
objects")
Cc: Martin Sebor
Signed-off-by: Arnd Bergmann
---
My patch is untested, please try it out before applying.
---
lib/test_rhashtable.c | 9
Martin Sebor also asked me about this, he's the one that worked on
the gcc code that introduced the warning. Sorry for not replying earlier.
Maybe you can pass this to him? (maybe open a bug in gcc's bugzilla?)
I've opened bug 84725 to extend attribute nonstring to the othe
functions, I would favor supporting
the warning and the attribute for all the three types.
[By the way, CC'ing Xiongfeng, Willy and Arnd, since they were
involved in the example report; sorry guys!].
Martin Sebor also asked me about this, he's the one that worked on
the gcc code tha
8 matches
Mail list logo