Received: by 10.213.65.68 with SMTP id h4csp3673246imn; Tue, 10 Apr 2018 02:51:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/lyyuupCyyj/Gq5DngrQJHTw8CVlrasDxwnB0DpfOkRp/uehxTRwP+FGbIj278ASXGDr3P X-Received: by 10.98.87.150 with SMTP id i22mr2168050pfj.119.1523353865946; Tue, 10 Apr 2018 02:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523353865; cv=none; d=google.com; s=arc-20160816; b=mgJIvOKfN9F0ovqnnxW2LK08IpnfKL/UeQKZPHJWRZCpXkGbNf1OU3t2KrRCYKjRLj HubO9+w3dldXBUoy6BFdXciSvuQK4WCnR0GoHH6gVsaEsu8qYfGDtPhjuqDMADlQIXIP Qj1q5RQEVvW7OJodBTjZUMMqunOg+WpO+xX2TmRmHdoMDKJRcOMFI4deXfNWlKgyPDlM NHVT5+xn9Aw8OqXYXXEJq/9PY4fJZAIctAEnJeQHnP03j+vxWuiMWin+gQdJu0RFPd5A eHajpJ35Ywej1cAVDTiLpeV7N005US+KqxLuJIiohOPUgloQiauCsIuDaEJoNwcByZ+N IkCA== 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:arc-authentication-results; bh=SKn/+1yUZsJu/7H510juxcQRaNxsOhUqwKsVzQ0f1/8=; b=FHNcRF8Sm+pcROB4Kdku0XZ5iXaw/P+z02niv7NlzNSTBxR74PCRWqkHdOeMKASGG6 K0QYAtKuuWhnDqK0CUdscan7Ozcn2BVnrp2mPQmaSlUoDz2Rur0xyH2B8EbP1Wx5cI1p TJ/tMGO/77UXO6roU71Z76NhbKSadduKKBuxqHl2LlamPk/xiOj3OBRgO3dmN2bl1aKM 6rw8KMgX1R0JG0h0DnfkTUKbGEx60smAWSWSnJug9qG4+C0tVTm0N3W5ypGU8Z7hsC5j DdUQKi0wBXAER4e+OmLGqqBYNXvaJJv1aygrxgzxaKPUUey/mNpd7Y/toLVHwQG1BdW5 Pk+g== 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 v1si1215290pgc.497.2018.04.10.02.50.29; Tue, 10 Apr 2018 02:51:05 -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 S1752460AbeDJJp5 (ORCPT + 99 others); Tue, 10 Apr 2018 05:45:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:23869 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751611AbeDJJp4 (ORCPT ); Tue, 10 Apr 2018 05:45:56 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Apr 2018 02:45:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,431,1517904000"; d="scan'208";a="42141203" Received: from ashleypx-mobl.ccr.corp.intel.com (HELO wfg-t540p.sh.intel.com) ([10.254.210.117]) by orsmga003.jf.intel.com with ESMTP; 10 Apr 2018 02:45:54 -0700 Received: from wfg by wfg-t540p.sh.intel.com with local (Exim 4.89) (envelope-from ) id 1f5pqb-0001HN-4G; Tue, 10 Apr 2018 17:45:53 +0800 Date: Tue, 10 Apr 2018 17:45:53 +0800 From: Fengguang Wu To: David Howells Cc: kbuild test robot , kbuild-all@01.org, linux-kernel@vger.kernel.org, Philip Li Subject: Re: [PATCH 05/45] C++: Set compilation as C++ for .c files Message-ID: <20180410094553.6psva5rntlizm6pz@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> <19628.1523349854@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <19628.1523349854@warthog.procyon.org.uk> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, On Tue, Apr 10, 2018 at 09:44:14AM +0100, David Howells wrote: >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. That's a good idea! And it looks straightforward to do. CC Philip (current LKP maintainer) for possible plans. Thanks, Fengguang