Re: [PATCH] mt76_init_sband_2g: null check the allocation

From: Jakub Kicinski
Date: Wed Jul 24 2019 - 13:42:07 EST


On Tue, 23 Jul 2019 17:19:54 -0500, Navid Emamdoost wrote:
> devm_kzalloc may fail and return NULL. So the null check is needed.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>

Acked-by: Jakub Kicinski <kubakici@xxxxx>

Thanks!