Re: wl18xx: add checks on wl18xx_top_reg_write() return value
From: Kalle Valo
Date: Wed Jun 28 2017 - 14:19:05 EST
"Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx> wrote:
> Check return value from call to wl18xx_top_reg_write(),
> so in case of error jump to goto label out and return.
>
> Also, remove unnecessary value check before goto label out.
>
> Addresses-Coverity-ID: 1226938
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
059c98599b1a wl18xx: add checks on wl18xx_top_reg_write() return value
--
https://patchwork.kernel.org/patch/9810591/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches