Re: [PATCH] ti: wlcore: fix error return code of wl1271_suspend()
From: Kalle Valo
Date: Sun Apr 18 2021 - 01:55:35 EST
Jia-Ju Bai <baijiaju1990@xxxxxxxxx> wrote:
> When wl is NULL, no error return code of wl1271_suspend() is assigned.
> To fix this bug, ret is assigned with -EINVAL in this case.
>
> Reported-by: TOTE Robot <oslab@xxxxxxxxxxxxxxx>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@xxxxxxxxx>
Someone needs to review this.
Patch set to Changes Requested.
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210306143600.19676-1-baijiaju1990@xxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches