Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp559924imm; Sat, 1 Sep 2018 11:43:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYtrmTCno6nr22N9Y+Mnp4MDwvT2bdmQu8ZRyodcPp4oVwFYx/2P/ouQUB3mbs2FxnKnpd/ X-Received: by 2002:a62:3241:: with SMTP id y62-v6mr21782016pfy.4.1535827390400; Sat, 01 Sep 2018 11:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535827390; cv=none; d=google.com; s=arc-20160816; b=TXYeTanZGjzO9vAXvjqClqv0gKS3VHbRuN/aMojO8fk22K6lLd47ozO71p73sUz3U4 2mf5Ucba7Ss7WSAAhelX257zaf0fJY5gF7rFkPwNoPKkWFsaoDi4Cka1JAi81GL9Ctfs MKOt145+QRJBMn+vIp2alE3u/mCHpcO5d0veIETgiCqjsxHZHdg0JCLL7Jhe2/EcufN9 GAhRAJn0sJhqSSeqgctAOLfIhsdLFMwBWwNJPibFz3E5OojnvLHSmGTAH5yGCuORlWR8 aKeFfuNnZLhGt4jKPlwMIRKCZP1AoGP4Stmtq+snZAfsb8pXRiRBTUnHlCcO2CqG+GSy Yr4g== 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=p9fwSXKtTlU2nA6MWmrQ+3/E0gr+ugHEZ4BlB0m2B2Y=; b=UGEjqst+e8B9msDsbHOb0mygFiSoDKWjOCA7eZRx4vS9eUJLnpBtGT2fLFJyPWh6g4 9H8xNlhWEl+XliUAJbBTmKtgPKgfrSWInznUKfNKth3kk+MOUL6u0IFnf/VNPsnnGJLj bq0cpRZRxSS3EbNZAWS3piHJOhlpkBYg9cRCZdIOrqJNFMT/4Uqu/HcPPFmXWMsdxnsq iiNsJLwiwXD54fCyDkYCAxvK+ZXPuUFInYznAV83KbAY0fWd7lfX7vhlSVyeEsjaGXeN 6Rb7MZoIMu5o37dI+g7HqRIK5ktDybbYf/Q9CXgf/HthYlKGA3CM4LkIKdITwrEWmxOD oPrg== 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 r84-v6si13907304pfj.355.2018.09.01.11.42.23; Sat, 01 Sep 2018 11:43:10 -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 S1727136AbeIAWwQ (ORCPT + 99 others); Sat, 1 Sep 2018 18:52:16 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58176 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726968AbeIAWwQ (ORCPT ); Sat, 1 Sep 2018 18:52:16 -0400 Received: from localhost (65-114-90-19.dia.static.qwest.net [65.114.90.19]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 01D45CE6; Sat, 1 Sep 2018 18:39:22 +0000 (UTC) Date: Sat, 1 Sep 2018 11:39:20 -0700 From: Greg KH To: Miguel Ojeda Cc: Nick Desaulniers , Linus Torvalds , LKML , Eli Friedman , Christopher Li , Kees Cook , Ingo Molnar , Geert Uytterhoeven , Arnd Bergmann , Masahiro Yamada , Joe Perches , Dominique Martinet Subject: Re: [PATCH 7/7] Compiler Attributes: use feature checks instead of version checks Message-ID: <20180901183920.GA8341@kroah.com> References: <20180831170514.24665-1-miguel.ojeda.sandonis@gmail.com> <20180831170514.24665-7-miguel.ojeda.sandonis@gmail.com> 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 Sat, Sep 01, 2018 at 03:38:13PM +0200, Miguel Ojeda wrote: > Hi Nick, > > On Sat, Sep 1, 2018 at 1:07 AM, Nick Desaulniers > wrote: > > Overall, pretty happy with this patch. Still some thoughts for a v3, > >> -#define __visible __attribute__((externally_visible)) > >> diff --git a/include/linux/compiler_attributes.h b/include/linux/compiler_attributes.h > >> new file mode 100644 > >> index 000000000000..a9dfafc8fd19 > >> --- /dev/null > >> +++ b/include/linux/compiler_attributes.h > >> @@ -0,0 +1,226 @@ > > > > New file needs an SPDX license identifier right? > > Yeah, but I wasn't sure of adding it, since the code I moved (even if > rearranged) from _types.h does not have it either. Any legal expert > here? Is _types.h it implicitly GPL 2? We should add the identifier to > both if so. It looks like we missed that file in the big "properly add SPDX identifiers to all files without a license" commit as it came in from a different tree. But yes, it is GPLv2 only implicitly, so you can add that. I should sweep the tree again to see if anything else has been added accidentally with that same problem. thanks, greg k-h