mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-03 22:08:07 +00:00
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 | ||