Received: by 10.213.65.68 with SMTP id h4csp3621136imn; Tue, 10 Apr 2018 01:48:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx48nReJ7BjgBm8dAZt/PkS6XhNtqhHp5zQHVXEDnlefPX1toFbtqYPrHiJ0zVpdc1FUtzukN X-Received: by 2002:a17:902:1007:: with SMTP id b7-v6mr25783394pla.205.1523350111761; Tue, 10 Apr 2018 01:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523350111; cv=none; d=google.com; s=arc-20160816; b=ytw5wWUgjeCs8ZhDGOMJxNgQF1r9hcC9+1wHh7QcaIdmZzEKLXIAJnxkD/6bQs6vFU KiMmIVaQ1lZqDqS+4oX/TBbnhptWQsUMh/7yfFB41IdNlFltkN7+O0ByA3Uad6mTbC8u 1Em4BvDNuVXT8t0onIzQ1GyJ/DGFVBKnvKdsRQnGqOVMCwU/k162PDTzKQ/5UBeLv623 cwSFvNhuCOltQ7uz4aTNUQ1/V4GdyTFE+UKQpVMvbcipftktTF88TyCk6G5zaH7RdKUS Y8OqFswLysIVwtbB+vTziUwp9ry3h+dtzniE0TTaz8mjJ0/h3qSh/8Zi5Oyd0BQFFXB2 yAqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=O9Jpvx/v0SDZ6nQ7BozT8fUjJYPUEIISLCtYSp5/at0=; b=A4YEDrREQEI+ALwTa8ltWFsPIkYb8ydQn1vQEFx/I0Qa/qOiSrFXPe5maj8w5KGFPy R9MAyJDHgY5IQKkpoKYZDGItJ499iLu+9eiAoOqKh1y49HTH7urB5RtvmOttCIX/3m/G 5t1liSOQgm7NXRBi3b1r6JvmpLakBeAyUV5MYyiun54w7zb57XGcGuQ4PkfTSM+T00Bi /k2xHr8nDjDs7kDNoCUTQXw7si8JKcwRFJCvEub0HxX2oIL1BtxJRpxioAQJrUhaLg0g GG0ckvSKovhvWXdY/mChvLP2dVMriichhXtueDejg2MXUIxqYxRbsMCg7ik6DijrShbj Pohw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s194si1474363pgc.578.2018.04.10.01.47.54; Tue, 10 Apr 2018 01:48:31 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752522AbeDJIoS (ORCPT + 99 others); Tue, 10 Apr 2018 04:44:18 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:48134 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752474AbeDJIoR (ORCPT ); Tue, 10 Apr 2018 04:44:17 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 860A6402242D; Tue, 10 Apr 2018 08:44:16 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-8.rdu2.redhat.com [10.10.120.8]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5A15A84422; Tue, 10 Apr 2018 08:44:15 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20180403132713.cffx5mpfrnwuokeh@wfg-t540p.sh.intel.com> References: <20180403132713.cffx5mpfrnwuokeh@wfg-t540p.sh.intel.com> <201804021242.NgXgixG7%fengguang.wu@intel.com> <152261524532.30503.16094079179209557382.stgit@warthog.procyon.org.uk> <18231.1522761410@warthog.procyon.org.uk> To: Fengguang Wu Cc: dhowells@redhat.com, kbuild test robot , kbuild-all@01.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/45] C++: Set compilation as C++ for .c files MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19627.1523349854.1@warthog.procyon.org.uk> Date: Tue, 10 Apr 2018 09:44:14 +0100 Message-ID: <19628.1523349854@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 10 Apr 2018 08:44:16 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 10 Apr 2018 08:44:16 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fengguang, There's another kbuild test that's probably worth adding if you don't do it already: create a c++ source file that just #includes all the exported UAPI headers and then try to build it. This should catch words like "private" cropping up in structs. Thanks, David