mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 17:00:01 +00:00
5a27e86bab
The low-level MCDI code always uses 32-bit MMIO operations, and callers must pad input and output buffers to multiples of 4 bytes. The MCDI NVRAM functions are not doing this. Also, their buffers are declared as variable-length arrays with no explicit maximum length. Switch to a fixed buffer size based on the chunk size used by the MTD driver (which is a multiple of 4). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bitfield.h | ||
efx.c | ||
efx.h | ||
enum.h | ||
ethtool.c | ||
falcon_boards.c | ||
falcon_gmac.c | ||
falcon_xmac.c | ||
falcon.c | ||
io.h | ||
Kconfig | ||
mac.h | ||
Makefile | ||
mcdi_mac.c | ||
mcdi_pcol.h | ||
mcdi_phy.c | ||
mcdi.c | ||
mcdi.h | ||
mdio_10g.c | ||
mdio_10g.h | ||
mtd.c | ||
net_driver.h | ||
nic.c | ||
nic.h | ||
phy.h | ||
qt202x_phy.c | ||
regs.h | ||
rx.c | ||
selftest.c | ||
selftest.h | ||
siena.c | ||
spi.h | ||
tenxpress.c | ||
tx.c | ||
workarounds.h |