diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-07-24 09:17:36 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-08-06 15:35:28 +0300 |
commit | b95c732234fa40319c6aae2db6b35e9a7f41d79c (patch) | |
tree | f8d8b99ae6ee301dc6a355b5ad21b4e0e80c3f72 /drivers/net/wireless/marvell | |
parent | cddecd92d1ec2fd05ed1123455e7c6cf6906b5a5 (diff) |
mt7601u: null check the allocation
devm_kzalloc may fail and return NULL. So the null check is needed.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Acked-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell')
0 files changed, 0 insertions, 0 deletions