linux/drivers/net/ethernet/i825xx
Guenter Roeck dff2d13114 net: i825xx: Use absolute_pointer for memcpy from fixed memory location
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>
2021-09-15 12:04:28 -07:00
..
82596.c net: i825xx: Use absolute_pointer for memcpy from fixed memory location 2021-09-15 12:04:28 -07:00
ether1.c drivers: net: ethernet: i825xx: Fix couple of spellings in the file ether1.c 2021-02-04 19:07:55 -08:00
ether1.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
lasi_82596.c parisc: Make struct parisc_driver::remove() return void 2021-08-30 10:18:25 +02:00
lib82596.c lib82596: convert to dma_alloc_noncoherent 2020-09-25 06:20:45 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sni_82596.c lib82596: convert to dma_alloc_noncoherent 2020-09-25 06:20:45 +02:00
sun3_82586.c net/sun3_82586: Fix return value of sun3_82586_probe() 2021-09-02 11:29:02 +01:00
sun3_82586.h ethernet: Convert mac address uses of 6 to ETH_ALEN 2013-08-02 12:33:54 -07:00