Skip to content
Commit b95c7322 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Kalle Valo
Browse files

mt7601u: null check the allocation



devm_kzalloc may fail and return NULL. So the null check is needed.

Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Acked-by: default avatarJakub Kicinski <kubakici@wp.pl>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent cddecd92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment