Thread (30 messages) 30 messages, 3 authors, 2017-04-03

Re: [PATCH] net: hns: fix boolreturn.cocci warnings

From: David Miller <davem@davemloft.net>
Date: 2017-04-03 02:44:05
Also in: lkml

From: kbuild test robot <redacted>
Date: Sat, 1 Apr 2017 07:50:55 +0800
drivers/net/ethernet/hisilicon/hns/hns_enet.c:1548:8-9: WARNING: return of 0/1 in function 'hns_enable_serdes_lb' 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

CC: lipeng <redacted>
Signed-off-by: Fengguang Wu <redacted>
This doesn't apply to any of my trees.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help