enic: fix boolreturn.cocci warnings
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 6 Mar 2018 18:23:23 +0000 (02:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 18:34:41 +0000 (13:34 -0500)
commit7d99429afa9393968261a425b1e1b57298e48a75
treed41406f8d4e71f0d612728a5b67adb840bf910cb
parentb1312b85012245923b5cb59ac324a5649eefefcb
enic: fix boolreturn.cocci warnings

drivers/net/ethernet/cisco/enic/vnic_dev.c:1294:9-10: WARNING: return of 0/1 in function 'vnic_dev_capable_udp_rss' 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: 48398b6e7065 ("enic: set UDP rss flag")
CC: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/vnic_dev.c