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

From: Kalle Valo
Date: Sat Aug 21 2021 - 06:10:47 EST


jing yangyang <cgel.zte@xxxxxxxxx> 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 <zealci@xxxxxxxxxx>
> Signed-off-by: jing yangyang <jing.yangyang@xxxxxxxxxx>
> ---
> 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