Return-path: Received: from smtprelay0147.hostedemail.com ([216.40.44.147]:52529 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752425AbbC3BtG (ORCPT ); Sun, 29 Mar 2015 21:49:06 -0400 Message-ID: <1427680141.2715.60.camel@perches.com> (sfid-20150330_034929_812968_A446EBF1) Subject: Re: [PATCH net-next] wireless: Use bool function returns of true/false instead of 1/0 From: Joe Perches To: Larry Finger Cc: David Miller , Stefano Brivio , Kalle Valo , Brett Rudley , Arend van Spriel , "Franky (Zhenhui) Lin" , Hante Meuleman , Johannes Berg , Emmanuel Grumbach , Intel Linux Wireless , linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, brcm80211-dev-list Date: Sun, 29 Mar 2015 18:49:01 -0700 In-Reply-To: <5518AAFD.1050202@lwfinger.net> References: <201503260524.AdqSbov9%fengguang.wu@intel.com> <20150325215525.GA26868@athens> <20150329.121655.2092434262655191613.davem@davemloft.net> <1427678712.2715.52.camel@perches.com> <1427678982.2715.55.camel@perches.com> <5518AAFD.1050202@lwfinger.net> Content-Type: text/plain; charset="ISO-8859-1" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, 2015-03-29 at 20:46 -0500, Larry Finger wrote: > On 03/29/2015 08:29 PM, Joe Perches wrote: > > Use bool constants as the return values instead of 1 and 0. > > > > Signed-off-by: Joe Perches > > --- > >> 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. > > > > There aren't too many here either... > > > > drivers/net/wireless/b43/dma.c | 12 ++++++------ > > drivers/net/wireless/b43legacy/dma.c | 6 +++--- > > drivers/net/wireless/b43legacy/rfkill.c | 8 ++++---- > > drivers/net/wireless/brcm80211/brcmsmac/phy/phy_cmn.c | 2 +- > > drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c | 2 +- > > drivers/net/wireless/iwlwifi/iwl-config.h | 4 ++-- > > 6 files changed, 17 insertions(+), 17 deletions(-) > > Please split these into separate patches for each driver. That way it will be > possible to search 'git log' for the contributions to each driver. Otherwise, > the patches are OK. It's still possible. git log shows the individual patches.