Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4071029ybg; Tue, 29 Oct 2019 01:31:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlL4BqXTC6j8LZD/Zcx5c9PiDduXG6XtqxATHcW70QpHBvpeyIQZCWOoZVhyv03Cka0Wid X-Received: by 2002:a17:906:2f83:: with SMTP id w3mr2010638eji.57.1572337904306; Tue, 29 Oct 2019 01:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572337904; cv=none; d=google.com; s=arc-20160816; b=dJ+DEoS4Au3WSijyve+TFxA11cNGVkka2lfz2UYoLlRInGUbzs6awv8atkynM45TKi EeVupoheji0MkYcQ9bvEr09NejlYsAvbDYM9nX5HuIpTXZiYO43UKCXbnGa1iip8iXxM lh+08BmqQCaiGhRmK686PkTDcN5kNRMulOOhEoeUhx/vF3Gkl32Zj5xXBwD57T7h8vE5 pqAPVEtmIpoHWtYwyPWvlkGJWSaOiTT735EG9UYMhpzuUrLEtd2TS9tId3f3mEIVoTJq WoDofDOhrUbMu6O5BOiRBg4llPWHDz7GRYYLJNzy+TTYsx8zune0fLAWI8ZVv5famEGA sr3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=aGNu8bnjPkzPDPzKhbz/vsQJHYfSTUz8iCZzS+N2Ito=; b=iEZJYwKgxsdw9NSdGuiQbOe/V2QLayhAbEMxDO5pvEDsEd4lCE1so7afHdQVgaIwjy x3RgV4u0OtPZV6UeJeg7miTqAkK72/wLR4gq3oImoidxypdnxdcY+9diEJrAlKMWxFiC yVN2a5yrWEyWE53F7VZaEVsLAxXRTlxAXGjDS+3DSBETTCf50QPx/YySjj+3GyuBB0XA eGbBBG+YyG35AKtBj6Nr7vDXjHfdDHZGh9bQmhCRm0juDwQhRZbrZyerpm4HdewM0W6K eW2qBsc5q+WiVcg1ZxlSWGEPzUyCR2TFqPU6tR4rCyj1GTbaUzpUo9C7y1NhTNtKRF6S JrEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x12si10215642edi.301.2019.10.29.01.31.18; Tue, 29 Oct 2019 01:31:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729275AbfJ2Iap (ORCPT + 99 others); Tue, 29 Oct 2019 04:30:45 -0400 Received: from smtprelay0115.hostedemail.com ([216.40.44.115]:39389 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728757AbfJ2Iap (ORCPT ); Tue, 29 Oct 2019 04:30:45 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id DEBF1181D3042; Tue, 29 Oct 2019 08:30:43 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1567:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3870:3871:3872:3876:4321:5007:6119:6742:7903:10004:10400:10450:10455:11026:11232:11657:11658:11914:12043:12296:12297:12740:12760:12895:13069:13138:13231:13311:13357:13439:13548:14659:14721:19904:19999:21080:21627:21740:30054:30070:30091,0,RBL:47.151.135.224:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: idea97_7a7d88050d930 X-Filterd-Recvd-Size: 1582 Received: from XPS-9350.home (unknown [47.151.135.224]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Tue, 29 Oct 2019 08:30:41 +0000 (UTC) Message-ID: <055503c8dce7546a8253de1d795ad71870eeb362.camel@perches.com> Subject: Re: [PATCH] b43: Fix use true/false for bool type From: Joe Perches To: Simon Horman , Saurav Girepunje Cc: kvalo@codeaurora.org, davem@davemloft.net, swinslow@gmail.com, will@kernel.org, opensource@jilayne.com, baijiaju1990@gmail.com, tglx@linutronix.de, linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com Date: Tue, 29 Oct 2019 01:30:34 -0700 In-Reply-To: <20191029082427.GB23615@netronome.com> References: <20191028190204.GA27248@saurav> <20191029082427.GB23615@netronome.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-10-29 at 09:24 +0100, Simon Horman wrote: > I wonder why bools rather than a bitmask was chosen > for this field, it seems rather space intensive in its current form. 4 bools is not intensive. > > diff --git a/drivers/net/wireless/broadcom/b43/main.c b/drivers/net/wireless/broadcom/b43/main.c [] > > @@ -3600,7 +3600,7 @@ static void b43_tx_work(struct work_struct *work) [] > > - wl->tx_queue_stopped[queue_num] = 1; > > + wl->tx_queue_stopped[queue_num] = true;