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

Re: [PATCH v2] mt7601u: check memory allocation failure

From: Jakub Kicinski <hidden>
Date: 2017-08-21 22:25:25
Also in: kernel-janitors, linux-arm-kernel, linux-mediatek, lkml, netdev

On Tue, 22 Aug 2017 00:06:17 +0200, Christophe JAILLET 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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help