linux_dsm_epyc7002/arch/arm/mach-orion5x
David S. Miller 13a55372b6 ARM: orion5x: Revert commit 4904dbda41.
It is not valid for orion5x to use mac_pton().

First of all, the orion5x buffer is not NULL terminated.  mac_pton()
has no business operating on non-NULL terminated buffers because
only the caller can know that this is valid and in what manner it
is ok to parse this NULL'less buffer.

Second of all, orion5x operates on an __iomem pointer, which cannot
be dereferenced using normal C pointer operations.  Accesses to
such areas much be performed with the proper iomem accessors.

Fixes: 4904dbda41 ("ARM: orion5x: use mac_pton() helper")
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-26 13:41:47 -05:00
..
board-d2net.c
board-dt.c
board-mss2.c
board-rd88f5182.c
bridge-regs.h
common.c
common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
db88f5281-setup.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
dns323-setup.c ARM: orion5x: Revert commit 4904dbda41. 2018-02-26 13:41:47 -05:00
irq.c
irqs.h
Kconfig ARM: orion5x: Revert commit 4904dbda41. 2018-02-26 13:41:47 -05:00
kurobox_pro-setup.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
ls_hgl-setup.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpp.c
mpp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mv2120-setup.c
net2big-setup.c
orion5x.h
pci.c ARM/PCI: Convert PCI scan API to pci_scan_root_bus_bridge() 2017-06-28 15:13:55 -05:00
rd88f5181l-fxo-setup.c
rd88f5181l-ge-setup.c
rd88f5182-setup.c
rd88f6183ap-ge-setup.c
terastation_pro2-setup.c
ts78xx-fpga.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ts78xx-setup.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
ts209-setup.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
ts409-setup.c
tsx09-common.c ARM: orion5x: Revert commit 4904dbda41. 2018-02-26 13:41:47 -05:00
tsx09-common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wnr854t-setup.c
wrt350n-v2-setup.c