mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
b3b2f62c62
Check memory allocation failure and return -ENOMEM in such a case, as already done a few lines below. As 'dev->tx_q' can be NULL, we also need to check for that in 'mt7601u_free_tx()', and return early. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Jakub Kicinski <kubakici@wp.pl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> |
||
---|---|---|
.. | ||
core.c | ||
debugfs.c | ||
dma.c | ||
dma.h | ||
eeprom.c | ||
eeprom.h | ||
init.c | ||
initvals_phy.h | ||
initvals.h | ||
Kconfig | ||
mac.c | ||
mac.h | ||
main.c | ||
Makefile | ||
mcu.c | ||
mcu.h | ||
mt7601u.h | ||
phy.c | ||
regs.h | ||
trace.c | ||
trace.h | ||
tx.c | ||
usb.c | ||
usb.h | ||
util.c |