linux-stable/include
Guenter Roeck 9e067d4780 compiler.h: Introduce absolute_pointer macro
[ Upstream commit f6b5f1a569 ]

absolute_pointer() disassociates a pointer from its originating symbol
type and context. Use it to prevent compiler warnings/errors such as

  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.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-06 15:05:06 +02:00
..
acpi ACPI: scan: Use unique number for instance_no 2021-03-30 14:40:12 +02:00
asm-generic vmlinux.lds.h: Handle clang's module.{c,d}tor sections 2021-08-26 08:37:04 -04:00
clocksource
crypto crypto: public_key: fix overflow during implicit conversion 2021-09-22 11:45:24 +02:00
drm drm: Return -ENOTTY for non-drm ioctls 2021-07-28 11:12:20 +02:00
dt-bindings
keys
kvm
linux compiler.h: Introduce absolute_pointer macro 2021-10-06 15:05:06 +02:00
math-emu
media
memory
misc
net psample: Add a fwd declaration for skbuff 2021-08-26 08:37:02 -04:00
pcmcia
ras
rdma
scsi scsi: iscsi: Add iscsi_cls_conn refcount helpers 2021-07-20 16:17:49 +02:00
soc irqchip/eznps: Fix build error for !ARC700 builds 2020-09-23 10:46:27 +02:00
sound ALSA: compress: fix partial_drain completion state 2020-07-22 09:22:17 +02:00
target
trace memcg: fix a crash in wb_workfn when a device disappears 2021-02-23 14:00:30 +01:00
uapi serial: 8250: Define RX trigger levels for OxSemi 950 devices 2021-09-22 11:45:29 +02:00
video
xen Xen/gntdev: correct error checking in gntdev_map_grant_pages() 2021-02-23 14:00:33 +01:00