mirror of https://gitee.com/openkylin/linux.git
a93ad944f4
When mapping the RX DMA buffers, the driver was accidentally specifying
zero for the buffer length. Under normal circumstances, SWIOTLB does not
need to allocate a bounce buffer, so the address is just mapped without
checking the size field. This is why the error was not detected earlier.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
emac-ethtool.c | ||
emac-mac.c | ||
emac-mac.h | ||
emac-phy.c | ||
emac-phy.h | ||
emac-sgmii-fsm9900.c | ||
emac-sgmii-qdf2400.c | ||
emac-sgmii-qdf2432.c | ||
emac-sgmii.c | ||
emac-sgmii.h | ||
emac.c | ||
emac.h |