cxgb4: fix boolreturn.cocci warnings
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 25 Mar 2015 21:55:25 +0000 (05:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 19:15:56 +0000 (12:15 -0700)
commit1fb7cd4ef02bea6416b5afd60617d12ceb3533c1
treeba7deb03e0f7ddea593fae4422050b2dc9c33a7c
parent85b9909272f128757dcb6d053ca12e15931747d4
cxgb4: fix boolreturn.cocci warnings

drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c:49:9-10: WARNING: return of 0/1 in function 'cxgb_fcoe_sof_eof_supported' 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: Varun Prakash <varun@chelsio.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c