Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6074916imu; Mon, 21 Jan 2019 02:45:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN6KekTZmIPDr1If+dv1a7kJfFG+v/y7qsA3RXDn2o7Mkk9DM2Dh++gYwSfgVMRLkZf59pv5 X-Received: by 2002:a17:902:f64:: with SMTP id 91mr15746284ply.132.1548067552304; Mon, 21 Jan 2019 02:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548067552; cv=none; d=google.com; s=arc-20160816; b=tfOI7qqYmxDtqXXP1bq8/oio+R1a/BEslMsTifawNvZ2E3l+2gOZymjwG0hhBNWkPz wwFMudEfU9aDRgpBFZIzUufowbTZ5ZcDkUq6ypVCMP6piqf6I7bMLMHyA0z5y9ieMose 5IuaFqrBPbtoQHp3bv3BtGpKiV5tfscvSQYbaSuVeFTxJx5Oe5cse32EtSoHl2AbEklS 6FVtYKuRBu6SktHXv8H2y0LcdIBdqq40fzd9HMH+MbiZwiOqgtrxBLKI0fsGkpeo1iCX 8GI5OhUbFSe6KEzhgmzHGaXK6Sv+oBR2FkUO5+gPbfRTaaM/h9bmUat+6iDo/EK4jRL5 JEJQ== 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:dkim-signature; bh=+BoE9KeZGmQri57W469+8l/a6TOb2wtocdKjJcWvEQI=; b=OAxo/mgVZm6UDZkX4x8t6HWVUXg5dbUYRTqxbGi44DTy9STbkewKNZkNyx4RkUeF1V qzzne5CdgkN5U0H322rRlUc818DM/hwu856Kp8jQg5joqPTiBOsTSlSN3Rlk65tEUQC0 ewQuNDzugW0rB/0oLMAy9gD25fur1NNKBQm0aS7lObprmi6WaAF1cj+pGjfFWMI3CbQC 0jDcwjqontsdG9yTXiCKtq3Lnm1wq+6U6Vs8DvLh0GMLTyxFm3HsnCMi9bCVUzzqGoVx YXp9U/nN705JawSeziFfZT2GyRPRQytT1V8ixqwKWjnoIw6q2E5yLmHCVuJHYBOGKYbI Q1sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dPRLtPT4; 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 p19si12541510pgj.375.2019.01.21.02.45.36; Mon, 21 Jan 2019 02:45:52 -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; dkim=pass header.i=@kernel.org header.s=default header.b=dPRLtPT4; 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 S1727743AbfAUKnp (ORCPT + 99 others); Mon, 21 Jan 2019 05:43:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:43476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727556AbfAUKno (ORCPT ); Mon, 21 Jan 2019 05:43:44 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6ADED20663; Mon, 21 Jan 2019 10:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548067423; bh=jvzmMg9bLvi8nLvB4BlOLaUIKlbOlS9FjeNjM+o0MEI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dPRLtPT4vcRFnJ5f8wFJJcZQJRBdI26bDNhFpBxcHqMW+zmdfIc7Nfx1AKEPGTf0U Bc7a9QqRtJMdDlwT18F7eiHUb+deFom1ioJbWP8olkuqyCwfxriUFxLSi/gS8BDBc/ oqkssdSiq4eMpWT5ZF8KBLUOIe4YTBLFf6qOup4E= Date: Mon, 21 Jan 2019 11:43:41 +0100 From: Greg KH To: Miguel Ojeda Cc: Nick Desaulniers , Xiaozhou Liu , Network Development , linux-kernel Subject: Re: [PATCH] Compiler Attributes: move kernel-only attributes into __KERNEL__ Message-ID: <20190121104341.GB16002@kroah.com> References: <20181128140852.178260-1-liuxiaozhou@bytedance.com> <20181129021635.rzmehzzfgt2jvpgi@bytedancedeMacBook-Air.local> <20181206123926.q5gd5u62vg2u7s5w@bytedancedeMacBook-Air.local> <20181206124957.GA22907@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 19, 2019 at 07:22:50PM +0100, Miguel Ojeda wrote: > Hi Greg, Nick, Xiaozhou, > > On Thu, Dec 6, 2018 at 1:50 PM Greg KH wrote: > > > > If something is fixed in Linus's tree for this, I want to take it into > > the 4.19-stable tree as well. > > This ended up in Linus' tree before the holidays, i.e. 4.20 has it, > see commit 71391bdd2e9a ("include/linux/compiler_types.h: don't > pollute userspace with macro definitions"). > > In case you want to still backport this to 4.19: you can't cherry-pick > it without conflicts because some stuff was moved around due to the > Compiler Attributes patch series (which also went in with 4.20 too), > but you can move the macros like this commit does. There are 2 > conflicts: > > * The big block of macros for attributes: > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/compiler_types.h?h=v4.19.16#n189 > * The __always_inline macro: > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/compiler_types.h?h=v4.19.16#n275 > > All those are nowadays inside __KERNEL__ && !__ASSEMBLY__, so it > should be fine to move those too along the rest that this patch moves. I have no idea why I would want to backport this, sorry :( If this resolves a problem, great, but someone has to do the backport for me to be able to take it. thanks, greg k-h > > Cheers, > Miguel