From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752803AbbC3BtJ (ORCPT ); Sun, 29 Mar 2015 21:49:09 -0400 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 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1801:2393:2559:2562:2693:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3872:3874:4321:4605:5007:6261:6742:10004:10400:10848:11232:11658:11914:12043:12050:12517:12519:12555:12740:13069:13255:13311:13357:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: crush14_14c846084905e X-Filterd-Recvd-Size: 2760 Message-ID: <1427680141.2715.60.camel@perches.com> 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" X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.