Re: [PATCH] mt76_init_sband_2g: null check the allocation

From: Kalle Valo
Date: Wed Jul 24 2019 - 01:39:59 EST


Navid Emamdoost <navid.emamdoost@xxxxxxxxx> writes:

> devm_kzalloc may fail and return NULL. So the null check is needed.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
> ---
> drivers/net/wireless/mediatek/mt7601u/init.c | 3 +++
> 1 file changed, 3 insertions(+)

The prefix in the title should be "mt7601u:".

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_title_is_wrong

--
Kalle Valo