Re: [PATCH] cxgb4: fix boolreturn.cocci warnings
From: David Miller <davem@davemloft.net>
Date: 2015-03-29 19:08:13
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2015-03-29 19:08:13
Also in:
lkml
From: kbuild test robot <redacted> Date: Thu, 26 Mar 2015 05:55:25 +0800
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 <redacted>
Applied. To be honest I'd might rather get bunches of these, there has to be a ton of them, than a slow trickle of one every few weeks/days.