Thread (1 message) 1 message, 1 author, 2021-08-21

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

From: Kalle Valo <hidden>
Date: 2021-08-21 10:10:45
Also in: linux-mediatek, lkml, netdev

Possibly related (same subject, not in this thread)

jing yangyang [off-list 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help