linux/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 ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
board-dt.c arm: use of_platform_default_populate() to populate 2016-06-23 15:00:39 -05:00
board-mss2.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
board-rd88f5182.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
bridge-regs.h ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
common.c ARM: orion: Register DSA switch as a MDIO device 2017-02-07 10:51:47 -05:00
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 ARM: orion5x: make orion5x_legacy_handle_irq static 2016-06-16 11:57:59 +02:00
irqs.h ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
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 ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
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 ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
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 ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
net2big-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
orion5x.h ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
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 ARM: orion: Register DSA switch as a MDIO device 2017-02-07 10:51:47 -05:00
rd88f5181l-ge-setup.c ARM: orion: Register DSA switch as a MDIO device 2017-02-07 10:51:47 -05:00
rd88f5182-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
rd88f6183ap-ge-setup.c ARM: orion: Register DSA switch as a MDIO device 2017-02-07 10:51:47 -05:00
terastation_pro2-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
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 ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
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 ARM: orion: remove unused wnr854t_switch_plat_data 2017-02-09 16:59:57 -05:00
wrt350n-v2-setup.c ARM: orion: Register DSA switch as a MDIO device 2017-02-07 10:51:47 -05:00