# Re: \[PATCH linux-next\] net:wireless:mt76: fix boolreturn.cocci warnings

- List: linux-wireless
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-wireless/2021/08/1484762/t

## Re: \[PATCH linux-next\] net:wireless:mt76: fix boolreturn.cocci warnings

- From: Kalle Valo \<hidden\>
- Date: 2021-08-21 10:10:45 
- Message: https://ratatoskr.run/linux-wireless/2021/08/1484762.md

```text
jing yangyang [ref] writes:

> ./drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c:172:8-9:WARNING:
> return of 0/1 in function 'mt7663_usb_sdio_tx_status_data' with return
> type bool
>
> Return statements in functions returning bool should use true/false
> instead of 1/0.
>
> Generated by: scripts/coccinelle/misc/boolreturn.cocci
>
> Reported-by: Zeal Robot <redacted>
> Signed-off-by: jing yangyang <redacted>
> ---
>  drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c | 2 +-

The subject should be:

mt76: mt7615: fix boolreturn.cocci warnings

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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