forked from luck/tmp_suning_uos_patched
13a55372b6
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:
|
||
---|---|---|
.. | ||
board-d2net.c | ||
board-dt.c | ||
board-mss2.c | ||
board-rd88f5182.c | ||
bridge-regs.h | ||
common.c | ||
common.h | ||
db88f5281-setup.c | ||
dns323-setup.c | ||
irq.c | ||
irqs.h | ||
Kconfig | ||
kurobox_pro-setup.c | ||
ls_hgl-setup.c | ||
Makefile | ||
mpp.c | ||
mpp.h | ||
mv2120-setup.c | ||
net2big-setup.c | ||
orion5x.h | ||
pci.c | ||
rd88f5181l-fxo-setup.c | ||
rd88f5181l-ge-setup.c | ||
rd88f5182-setup.c | ||
rd88f6183ap-ge-setup.c | ||
terastation_pro2-setup.c | ||
ts78xx-fpga.h | ||
ts78xx-setup.c | ||
ts209-setup.c | ||
ts409-setup.c | ||
tsx09-common.c | ||
tsx09-common.h | ||
wnr854t-setup.c | ||
wrt350n-v2-setup.c |