]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: correctly handling kzalloc
authorInsu Yun <wuninsu@gmail.com>
Wed, 30 Dec 2015 16:01:44 +0000 (11:01 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Jan 2016 09:11:51 +0000 (11:11 +0200)
commitb5909b4da56d479fff7f401cbb5fedb4f6b76a98
tree2d69b20f74350f38e7470679eb0f9c088609393f
parentd51b2e2e78f02998200505fa935e3017bf4a0de9
mwifiex: correctly handling kzalloc

Since kzalloc can be failed in memory pressure,
it needs to be handled, otherwise NULL dereference could be happened

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sdio.c