Tag: 1fb7cd4ef02bea6416b5afd60617d12ceb3533c1

cxgb4: fix boolreturn.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> 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 Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller — drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-)   diff …

Continue reading