Re: [PATCH] net: dsa: mv88e6xxx: fix boolreturn.cocci warnings

2018-03-07 Thread David Miller
From: kbuild test robot Date: Tue, 6 Mar 2018 23:54:07 +0800 > From: Fengguang Wu > > drivers/net/dsa/mv88e6xxx/serdes.c:66:9-10: WARNING: return of 0/1 in > function 'mv88e6352_port_has_serdes' with return type bool > > Return statements in functions returning bool should use > true/false

Re: [PATCH] net: dsa: mv88e6xxx: fix boolreturn.cocci warnings

2018-03-06 Thread Andrew Lunn
On Tue, Mar 06, 2018 at 11:54:07PM +0800, kbuild test robot wrote: > From: Fengguang Wu > > drivers/net/dsa/mv88e6xxx/serdes.c:66:9-10: WARNING: return of 0/1 in > function 'mv88e6352_port_has_serdes' with return type bool > > Return statements in functions returning bool should use > true/fa

[PATCH] net: dsa: mv88e6xxx: fix boolreturn.cocci warnings

2018-03-06 Thread kbuild test robot
From: Fengguang Wu drivers/net/dsa/mv88e6xxx/serdes.c:66:9-10: WARNING: return of 0/1 in function 'mv88e6352_port_has_serdes' 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 Fixes