Thread (3 messages) 3 messages, 3 authors, 2017-08-24

[v2] mt7601u: check memory allocation failure

From: Kalle Valo <hidden>
Date: 2017-08-24 09:55:46
Also in: linux-mediatek, netdev

Christophe Jaillet [off-list ref] wrote:
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 <redacted>
Acked-by: Jakub Kicinski <redacted>
Patch applied to wireless-drivers-next.git, thanks.

b3b2f62c6238 mt7601u: check memory allocation failure

-- 
https://patchwork.kernel.org/patch/9913855/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help