Files
linux/drivers
Guenter Roeck 113a8edfb9 net: i825xx: Use absolute_pointer for memcpy from fixed memory location
[ Upstream commit dff2d13114 ]

gcc 11.x reports the following compiler warning/error.

  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]

Use absolute_pointer() to work around the problem.

Cc: Geert Uytterhoeven <geert@linux-m68k.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-09-30 10:09:25 +02:00
..
2021-09-15 09:47:30 +02:00
2021-07-14 16:53:42 +02:00
2021-09-15 09:47:36 +02:00
2021-07-14 16:53:13 +02:00
2021-08-26 08:36:17 -04:00
2021-09-26 14:07:14 +02:00