Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2836337imu; Sun, 23 Dec 2018 08:54:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN4cfDX9KyGT+buDjIgRmeupNfMVP40PZgTzDb3G/n54eBidqio5xaxNsE0CM8GdQHahBxmE X-Received: by 2002:a63:d70e:: with SMTP id d14mr9725421pgg.159.1545584084898; Sun, 23 Dec 2018 08:54:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545584084; cv=none; d=google.com; s=arc-20160816; b=A+fp3E+UggXfX0QUYZFbzRqJ4aYNin0Dqnr15y2+K1dbyn1jvhiU99epi1U9EQfOjZ S1MgIDlXKq9ASHaSJtPQ6puanuFIqFecbetL88aksxdZhO2KgF7XvzQZ+Ixf2VBRnZJ9 smDAtW8SYqa8sEMAGnfnfTTLxT6Yc9uFnKcgZasxKkZ6r0Vpcl73zVEEgfMfxKsxhluK TjSvaSv05MvdSIPM7iC0Lcsin95LoPb/h5QK0nWO6mOQGyovnUo4bmPHC5TFDGpMcdpS /OFTqItvErE5J2sgaYnACyFSB0YpxV6OtGetp55oydsn6BS3I9hvLiXtmyaT9dlwbBrn dNLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/mlHWG4nNLOZZTL7lPrWgAEsZCgGPZNe2yDbbDu0OxU=; b=u57BwTiEMS943mHo4oRSWGDl8zk5hZNsHzjI3felGQ6Txew6sTCgGx1l1DoVCuvXrR rAyZ2u0nt/1zF2c8/haZqhCReXqBG0/DDiRBDkh2K0vQBgDbS2RctcjhRo/wQnBrMxYn c5kMqeByZE1ua7M31Dc6f/YJzAMoedP/PSFcTyq83PbvsmaTayYCcW/ETltw6Kq1ePEg lCNNKjGU/in0WqQk8013gaTePM4jU4GdbYYjsmw2qf6zpuahhRFUN1zqOSSqXCcTHZL1 lu1tRaTLhKV49V8Jpg98KZoJMUW6ExH+s6aVBsLP1wgiYnky/8VXMUZKiUWYa1/HP3fm C+rQ== 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 62si6172299pgi.314.2018.12.23.08.54.29; Sun, 23 Dec 2018 08:54:44 -0800 (PST) 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 S1725789AbeLWQxk (ORCPT + 99 others); Sun, 23 Dec 2018 11:53:40 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:44420 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbeLWQxk (ORCPT ); Sun, 23 Dec 2018 11:53:40 -0500 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.91 #2 (Red Hat Linux)) id 1gb704-00078d-Iy; Sun, 23 Dec 2018 16:53:12 +0000 Date: Sun, 23 Dec 2018 16:53:12 +0000 From: Al Viro To: Gal Pressman Cc: Jason Gunthorpe , Joe Perches , Bart Van Assche , Stephen Warren , Tariq Toukan , xavier.huwei@huawei.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Doug Ledford , Stephen Warren , Christoph Hellwig , Andrew Morton , Linus Torvalds , Jonathan Corbet , linux-kernel@vger.kernel.org Subject: Re: rfc: bool structure members (was Re: [PATCH V3] net/mlx4: Get rid of page operation after dma_alloc_coherent) Message-ID: <20181223165312.GE2217@ZenIV.linux.org.uk> References: <20181219182031.8675-1-swarren@wwwdotorg.org> <20181220174318.GA21404@ziepe.ca> <20181220174448.GA21149@lst.de> <1545328145.185366.500.camel@acm.org> <072c2d9d187daf0672bf54ab035e47a05fd1cd1d.camel@perches.com> <20181221033159.GF23877@ziepe.ca> <20181221235230.GC13168@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 23, 2018 at 06:42:20PM +0200, Gal Pressman wrote: > > -17) Don't re-invent the kernel macros > > +17) Using bool > > +-------------- > > + > > +The Linux kernel uses the C11 standard for the bool type. bool values can only C99, surely?