# Re: ti: wl18xx: add checks on wl18xx\_top\_reg\_write() return value

- From: Gustavo A. R. Silva \<hidden\>
- Date: 2017-06-28 22:58:02 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/06/5032213
- Thread: https://ratatoskr.run/linux-wireless/2017/06/5032213/t.md

```text

Quoting Kalle Valo [ref]:

> "Gustavo A. R. Silva" [ref] 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 <redacted>
>
> The prefix should be "wl18xx:", I'll fix that.
>

Thanks, Kalle.
--
Gustavo A. R. Silva
```
