Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1197860imm; Fri, 17 Aug 2018 13:40:55 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwxQWWFpCnPwY89SMInqqmcq4ivVraxCCkRIFOJu0JzZ1bCrY102PWK70PwqkhRoCP3YH3i X-Received: by 2002:a63:530b:: with SMTP id h11-v6mr34447298pgb.139.1534538455446; Fri, 17 Aug 2018 13:40:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534538455; cv=none; d=google.com; s=arc-20160816; b=VwKaGgw3LNsgEO7zbu4OQgSpGGbjTYeG1RW+t5kJ94FpBrbpW7RE5vyKvEaxVxwDlo Np7lBfdQNObFYdfeHs05O7wxD9vadq8NejPleDjoRu1zy+ifRk+CMNJt/22EMWtmkYPN ZQH44CEzx1OIb4d6C3GTYUVJJDfdrw8JhszFyWluQ3/Ss0w3bCpTKlKrB9/9FndgmBD8 7ZIHOujuhvoTCNMlbEUrqEfrW9FReQgGmp0lL4Bqb9R5RMtbL16BDZiUJCnUa06gsexN 7+mX1J6GQNIhC9sta0eiEsHrXJm5BPN7Q6GUzcRzZRuXwYlJsQDgR7Z7N/5vQtP6dIMR 4maA== 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:message-id:subject:cc:to:from:date :arc-authentication-results; bh=gxQEe87sEQIeQExxvXVvJuIL/L3IUsAGwSbKCSw4BJA=; b=D3YeRS4Yn+3RlXWSrrdFlZZirtrilHssl5CjWiL828UR4UXWq6KBgtzd52fao2QhqZ Dq19CqnQxL9gKv4JCse9jzxxWeFmQZAVXDXnlH0zStRLuUl7WM4tywOYeZ6i5JT91MQ1 oogtYaimfNbiMNhch6dPGOxWDKVlZk1I7GDE0W4gmbMuxj2kXnfsMeTGc6q6HIlYEECc j/uI+5j3TbDTbAzH/avRz301J7ZuIT1++sofWjn0rfhf4JqyNOA+kE+3DqiPrDaX6uyu LtqKeP4hC9omhIEJo/o7wd1R5NYqd5+89KGTPGEpCiH/ptdpYBRk1vmW5rL6RwztHo6A XLtQ== 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 o12-v6si2966398pfd.142.2018.08.17.13.40.40; Fri, 17 Aug 2018 13:40:55 -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 S1726470AbeHQXo2 (ORCPT + 99 others); Fri, 17 Aug 2018 19:44:28 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50074 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbeHQXo2 (ORCPT ); Fri, 17 Aug 2018 19:44:28 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.92]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 7414CC74; Fri, 17 Aug 2018 20:39:37 +0000 (UTC) Date: Fri, 17 Aug 2018 13:39:35 -0700 From: Andrew Morton To: Rasmus Villemoes Cc: Christopher Li , linux-sparse@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] linux/compiler.h: don't use bool Message-Id: <20180817133935.b93ce7534656e587d4c8d3e6@linux-foundation.org> In-Reply-To: <20180817101036.20969-1-linux@rasmusvillemoes.dk> References: <20180817101036.20969-1-linux@rasmusvillemoes.dk> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Aug 2018 12:10:35 +0200 Rasmus Villemoes wrote: > Appararently, it's possible to have a non-trivial TU include a few headers, > including linux/build_bug.h, without ending up with linux/types.h. So > the 0day bot sent me What's a "TU"? > > config: um-x86_64_defconfig (attached as .config) > > >> include/linux/compiler.h:316:3: error: unknown type name 'bool'; did you mean '_Bool'? > bool __cond = !(condition); \ > > for something I'm working on. > > Rather than contributing to the #include madness and including > linux/types.h from compiler.h, just use int.