Thread (2 messages) 2 messages, 2 authors, 2021-08-29

Re: [linux-next] ssb: fix boolreturn.cocci warning

From: Kalle Valo <hidden>
Date: 2021-08-29 11:48:10
Also in: lkml

CGEL [off-list ref] wrote:
From: Jing Yangyang <redacted>

./include/linux/ssb/ssb_driver_extif.h:200:8-9:WARNING: return of 0/1 in
function 'ssb_extif_available' 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>
Patch applied to wireless-drivers-next.git, thanks.

8d4be124062b ssb: fix boolreturn.cocci warning

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210824061341.59255-1-deng.changcheng@zte.com.cn/

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