diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-15 22:11:48 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-15 22:11:48 +0300 |
commit | d6efd3f18763ac84098fa318742cd2a3bfdf4d72 (patch) | |
tree | 3369fa7a752f9793166f93191588b4fb266b20fa /fs/qnx4 | |
parent | 80be5998ad6339e3e804a772723390cb50b96428 (diff) | |
parent | ebdc20d7bc74e8b6a242ff1f30e9017ffca9092c (diff) | |
download | linux-d6efd3f18763ac84098fa318742cd2a3bfdf4d72.tar.xz |
Merge branch 'absolute-pointer' (patches from Guenter)
Merge absolute_pointer macro series from Guenter Roeck:
"Kernel test builds currently fail for several architectures with error
messages such as the following.
drivers/net/ethernet/i825xx/82596.c: In function 'i82596_probe':
arch/m68k/include/asm/string.h:72:25: error:
'__builtin_memcpy' reading 6 bytes from a region of size 0
[-Werror=stringop-overread]
Such warnings may be reported by gcc 11.x for string and memory
operations on fixed addresses if gcc's builtin functions are used for
those operations.
This series introduces absolute_pointer() to fix the problem.
absolute_pointer() disassociates a pointer from its originating symbol
type and context, and thus prevents gcc from making assumptions about
pointers passed to memory operations"
* emailed patches from Guenter Roeck <linux@roeck-us.net>:
alpha: Use absolute_pointer to define COMMAND_LINE
alpha: Move setup.h out of uapi
net: i825xx: Use absolute_pointer for memcpy from fixed memory location
compiler.h: Introduce absolute_pointer macro
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions