From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752795AbbC2TIN (ORCPT ); Sun, 29 Mar 2015 15:08:13 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:59048 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbbC2TIM (ORCPT ); Sun, 29 Mar 2015 15:08:12 -0400 Date: Sun, 29 Mar 2015 12:16:55 -0700 (PDT) Message-Id: <20150329.121655.2092434262655191613.davem@davemloft.net> To: fengguang.wu@intel.com Cc: varun@chelsio.com, kbuild-all@01.org, hariprasad@chelsio.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cxgb4: fix boolreturn.cocci warnings From: David Miller In-Reply-To: <20150325215525.GA26868@athens> References: <201503260524.AdqSbov9%fengguang.wu@intel.com> <20150325215525.GA26868@athens> X-Mailer: Mew version 6.4 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 29 Mar 2015 12:08:12 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot 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 > Signed-off-by: Fengguang Wu 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.