Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp358345imu; Fri, 25 Jan 2019 03:40:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN5nPa5A34daIS4oG6lg/l+YXgyOX4zk4lOJzGCSoEE4Dao7Nbp/r1GboEE2Jd0iw5t0qwsJ X-Received: by 2002:a62:6dc7:: with SMTP id i190mr10615013pfc.166.1548416401636; Fri, 25 Jan 2019 03:40:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548416401; cv=none; d=google.com; s=arc-20160816; b=iF7plVXyVBvoavFYEnRaVC9Vh7KeG4rEYF3xh7umHl+7D+/apje5aWcSzc+nEgrpaI gNH9rZG7kbfumk7JYUKtgpqSEGOXyFVEHXkhM2UJn8eeUs0UIwZyr3lqcldXS8VR344+ R/BO7jSdzQ8/pjlZMf8V/zQ/54xqARUcHUvaVBBCO+cPSQoOoZm9ll3LO0WDQv3nQVCy px6HohXtYY8rGfLkZXLzFUicg6N9I7Us2p4T3JIAVQpbFDF/7bDVIsVaJ3Q1KcstYYbI fYTYehUL5iiBQczXEODkPySnjJMdI3svEmuGC9GWaPjS0W1+41olMJ9QqrVF3h4rh0+X pRLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lL+ZS/fRD9ZcacHB0crQpdSxoRtgx8tCRTMbNabO9KE=; b=yjDzckuBAJV76RlSAWFETQGMuwC6xWGfzfYOVuLtRqbtRjetCoAja99JXMSAfL6ncU xW6dn6JU1NM0L+b49VBjIq4YwCN4LWEjhW8lSw2ZJahIXv1P5QMaqQtybWKIT8E2Z60Z b05nbUXl8BgJPrfLrjUJFWLVVgXTD1o6vsgZQyH+/5aWFpN+Lou27gv8OaZj72lJH90F E8hlcno7WPRqMFXSZ9+FQ6InpBn/37FEqnI6RAvTqUqQiDu/kWGx8hsh0UOUw4kstrUD LgGJWxEmbPHOfISbRkgXoaOaF1ypVnLRPjTATfbeoc7QbpkQJh96v/6IzWXBS5ctryJV RudA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dq6SWCA9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si24723445pgl.468.2019.01.25.03.39.46; Fri, 25 Jan 2019 03:40:01 -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=@gmail.com header.s=20161025 header.b=dq6SWCA9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726396AbfAYLji (ORCPT + 99 others); Fri, 25 Jan 2019 06:39:38 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:39746 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbfAYLjh (ORCPT ); Fri, 25 Jan 2019 06:39:37 -0500 Received: by mail-lf1-f68.google.com with SMTP id n18so6702767lfh.6 for ; Fri, 25 Jan 2019 03:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lL+ZS/fRD9ZcacHB0crQpdSxoRtgx8tCRTMbNabO9KE=; b=dq6SWCA9TOkWoH1jxBgwspRoaRwFgomzc6D6fCe51P8yQI9NiC61XkiqRhygbf/Ns7 1QObKThtJ0OwLlkXQ8VOLSstwpOA/G7e2heMbkovFRFB7VkPBl6yB2y4tpFYyFG0GvNO Y4B9mzW9k/a5zduAgsMOuKnLX6nF8Fbr3nw9+u2nAEW7L2iKiTP+BXgzRWh0FEYskM7E ULfnVmDfDTqsb22GGCtip+53Vm37qN1rHU7cbX8BGa9x1Ikvee+tnF36WT3+uW3yanXP 49Kt1LBNXZcwP2ca5Z/gR/XsP2b/Abvx9f3yu6cUcaGrtFBk3+ctwOxxmaWXTU39qKdS BaOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lL+ZS/fRD9ZcacHB0crQpdSxoRtgx8tCRTMbNabO9KE=; b=Wes2LEbIIuTuD95h1jcyA5W8wLJR3RVUcKnGyEr1PJwSEJaVWT8E/90iPP15t9CjIA hvaPk0LfAo69J38zF/2sbZUf1WaXenGyFmi2b0DHdFDdbI/baqOwqSe8HlAT+iQyE0cn wnxF6dTovccOKTC6ai22PcB+q/SjeR/6KX4O4bXJA9TUuZkjEB21mhbUjvRqaZwtJivJ 36VVdneeZ1PaYPym84bV0dwaHTtpq/UJhT5Pzjwg7jbmNgcUNYfhQ6twO7NilgHwHZrL FOLA0fby5Wl6/WM2PBy9pHFw2Yn03TYFRopITirgCYi+KYQ/QJ7SfWHALlrwYc9Q1VLd ZLzQ== X-Gm-Message-State: AJcUukekZHUPM1hOHDKHpCgjGfFdaMXnbGOlgC+EEU/D37CDn7H7mWrp bKRbNs6u0nuQ/CUbWU0Sw+gC81Xib44qqJKy5bs= X-Received: by 2002:a19:a84e:: with SMTP id r75mr7537595lfe.45.1548416375852; Fri, 25 Jan 2019 03:39:35 -0800 (PST) MIME-Version: 1.0 References: <20190125104353.2791-1-labbott@redhat.com> In-Reply-To: From: Miguel Ojeda Date: Fri, 25 Jan 2019 12:39:24 +0100 Message-ID: Subject: Re: [RFC][PATCH] Update -Wattribute-alias for gcc9 To: Arnd Bergmann Cc: Laura Abbott , Masahiro Yamada , Linux Kernel Mailing List , Bernd Edlinger , Martin Sebor Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 25, 2019 at 11:58 AM Arnd Bergmann wrote: > > On Fri, Jan 25, 2019 at 11:43 AM Laura Abbott wrote: > > > > Commit bee20031772a ("disable -Wattribute-alias warning for > > SYSCALL_DEFINEx()") disabled -Wattribute-alias with gcc8. > > gcc9 changed the format of -Wattribute-alias to take a parameter. > > This doesn't quite match with the existing disabling mechanism > > so update for gcc9 to match with the default (-Wattribute-alias=1). > > > > Signed-off-by: Laura Abbott > > --- > > This is RFC because it feels ugly. I went ahead and did the obvious fixup > > but it's worth discussing if we're going to end up with an explosion or > > if there's a better way to handle this in one macro. > > Bernd Edlinger has sent a patch to gcc for this: > https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01120.html > > and Miguel Ojeda said he wanted to send a patch for it to the > kernel as well, not sure if he wanted to take a different > approach there, so adding both to Cc here. Thanks Arnd (I was working with Martin on the expanded -Wmissing-attribute warnings, not on this, but thanks nevertheless :). Martin/Bernd: from the GCC mailing list I am not sure if we should expect the old behavior to be maintained or not. Cheers, Miguel