diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2018-03-06 23:54:07 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 13:33:23 -0500 |
commit | b1312b85012245923b5cb59ac324a5649eefefcb (patch) | |
tree | 42a3467f2da98e8c7d971ec310c3c09554f33017 /drivers/net/ethernet | |
parent | 630b21a26ae02bd180aebbccad248c64daf1da4b (diff) |
net: dsa: mv88e6xxx: fix boolreturn.cocci warnings
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: eb755c3f6b7d ("net: dsa: mv88e6xxx: Add helper to determining if port has SERDES")
CC: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions