Received: by 10.213.65.68 with SMTP id h4csp5353imn; Tue, 10 Apr 2018 14:57:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+dp4TsBtFfw2vgp1RAx6hR++IX4km2E7ByxqIIVT2D87gFD8+1low49ehJXLJrWgz94eLc X-Received: by 2002:a17:902:748c:: with SMTP id h12-v6mr2219018pll.264.1523397449204; Tue, 10 Apr 2018 14:57:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523397449; cv=none; d=google.com; s=arc-20160816; b=OSHidz6jlIB4g/Uts6TFD3Toy50zplamUZSA60m0PGOhqJ6MBDmNo9Fmpvkxu1gRKw 9Ve9CgWgGrn2ddDEWqK8b6s1Vh1ilFjK0UF1C6P0pFa/sGM8nbS9hHX1OK7iaax0mqpR IFsPNi9mgWA1etsO6FRRMNY/q0O6HmNSUtHN/lNKcsWd7UHUbZSAvpCZoZlNY9S+jHM8 M/bcQ0eUuVixk+31525bfwful5hBRoj6zQinEPPDOH2N65Up4kaNb4i/DyEWnPIHKbF3 kWAmbkh3qyC6dF3iFF7GNwsftJcUB3iLBjDFda3GTavHkzwjhoXSvcU94ZIKQfTyi25P QTQQ== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=lNXqXtAOVBna+Re+TaXZrFYKLfGsJzUNaH+Ed6DLJ10=; b=MrrOYlKVeJD0Eo4vbGkuXsGf5PJyCzq5BQkUPOJ5OpryVXOuW3KFmf4HuMA6u1PAJa KT2qYmKcmjf66m1sSB8c9qo+f9tE1IE/ULCnptDtDAv/WX0Ps4IySSEPxwWKSSTWrcHG AP9czX6DNWG9fYyXuJKULRZox0ZmF0VOeJc6Rp38UipwLUvQqA6irknjdjD9SFRVrTRh B/nej9CWGRtmvutxfm0xulaxM2Clxkb9PGoFL9wLajA8IMjFOESm78VXdCWh++4uhjw6 gHLqu+dz1Rcv8dq41GEccDQjAgOUoSviXhpVhJ5EQfKXJvEZ5zyXSEzzEuV5JLo9Y+lV dBvA== 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 t3si2325160pgc.87.2018.04.10.14.56.51; Tue, 10 Apr 2018 14:57:29 -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 S1752062AbeDJVx5 (ORCPT + 99 others); Tue, 10 Apr 2018 17:53:57 -0400 Received: from smtprelay0025.hostedemail.com ([216.40.44.25]:37948 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751918AbeDJVx4 (ORCPT ); Tue, 10 Apr 2018 17:53:56 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 56FDD837F252; Tue, 10 Apr 2018 21:53:55 +0000 (UTC) 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:1437:1515:1516:1518:1534:1537:1566:1593:1594:1711:1714:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3622:3870:3871:3876:4321:5007:6742:8603:10004:10400:10848:10967:11232:11658:11914:12740:12760:12895:13069:13255:13311:13357:13439:14181:14659:14721:21080:21627:30054:30060:30090:30091,0,RBL:47.151.150.235:@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:20,LUA_SUMMARY:none X-HE-Tag: jail24_21f0f737fce2f X-Filterd-Recvd-Size: 1889 Received: from XPS-9350.home (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Tue, 10 Apr 2018 21:53:53 +0000 (UTC) Message-ID: Subject: Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions From: Joe Perches To: Andrew Morton Cc: Peter Zijlstra , "Rafael J. Wysocki" , Andy Whitcroft , yuankuiz@codeaurora.org, Linux PM , "Rafael J. Wysocki" , Frederic Weisbecker , Thomas Gleixner , paulmck@linux.vnet.ibm.com, Ingo Molnar , Len Brown , Linux Kernel Mailing List Date: Tue, 10 Apr 2018 14:53:51 -0700 In-Reply-To: <20180410143950.4b8526073b4e3e34689f68cb@linux-foundation.org> References: <891d4f632fbff5052e11f2d0b6fac35d@codeaurora.org> <20180410123305.GF4082@hirez.programming.kicks-ass.net> <95477c93db187bab6da8a8ba7c57836868446179.camel@perches.com> <20180410143950.4b8526073b4e3e34689f68cb@linux-foundation.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.0-4 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, 2018-04-10 at 14:39 -0700, Andrew Morton wrote: > On Tue, 10 Apr 2018 11:19:54 -0700 Joe Perches wrote: > > > A struct with a bool member can have different sizes on various > > architectures because neither bool size nor alignment is standardized. > > What's wrong with bools in structs? See above.