summaryrefslogtreecommitdiff
path: root/scripts/decode_stacktrace.sh
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2017-08-22 00:06:17 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-08-24 12:54:33 +0300
commitb3b2f62c6238808f74e00767a3224f9be54d606f (patch)
tree51ed02119ee7bb77507b16cd31a08836c98bc60d /scripts/decode_stacktrace.sh
parentd9ee6015e573176e599693b6d0125ad74b210623 (diff)
downloadlinux-b3b2f62c6238808f74e00767a3224f9be54d606f.tar.gz
linux-b3b2f62c6238808f74e00767a3224f9be54d606f.tar.bz2
linux-b3b2f62c6238808f74e00767a3224f9be54d606f.zip
mt7601u: check memory allocation failure
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>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions