Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp951564yba; Sun, 31 Mar 2019 18:07:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvBg+8xg4geRZNnjX7ReJ2A9FxSwV59m7wiJpdVT3YYxvjiIqYlik1ikGzjnoIhYoGZv+p X-Received: by 2002:a62:4d43:: with SMTP id a64mr58738690pfb.157.1554080831014; Sun, 31 Mar 2019 18:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554080831; cv=none; d=google.com; s=arc-20160816; b=dqG/2r2ltxCvYdv4Q7Xx317PbuJMsvJpMbi3LIEWTNM9lui7en15Htn4j85GRbD5CJ FtuN5la5mcyA9M8yCdWvQg6um671CB/Y3z8YJkbVrahbEaYgCZU43pSZ7256cyrykb4l oUFlN7ACBUGc+rji2tHm5jkuDDP3shfaMy3C7L6552K4NnsOvZgjHcPCohaVQvNz/Wr2 FAfa21aoVXtwMrU2spjHaP6oAR78P7kR4sVIup+HwempWgjnLwbMdyGgn8PUBdTSJFxW QdjmWt8/NU6rwgRRGQRlLGH6oYOGHYAZn8hCH/WQyYy94Alm/ar7wtZ8g4FgW87/morg TOuQ== 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:dkim-filter; bh=VcswJh4pPO40p/qkhstAY6Wwwcr4Qf2MyUnW0QBEU/w=; b=a9AA6S7vaSzmr2oXhgpb+T5NQPjno2Hu55Mp87ds7nF6EI1ByRSRethvP1vrBGEd3b PwcAQU8q7y0wmZzMxzwawE8L5R0jbUeclq8+6sthQ4yHdU1BM71zgMAUxkRWeZhWn+wf 8BoCVEd/aRGVfsH3nKIAKQiCfh48+k1QMX6BUq+ZIcmZgmtxLls7YPTuovEW2yp1Y6sD G3x8Y4A8it8XgK7vP/bc2StMn9YBmdJubI96Dda7/srP8godQfBB8gW1URoV68jXASlB VmHQ1lk0ILKMQMu1ckpI646xiNWsOP/OHqKLbLvsJ3DjNd/PPwsz7HW7/7oY1PBSZu9W TUTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=KtQNZvoj; 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 b15si7486603pge.349.2019.03.31.18.06.38; Sun, 31 Mar 2019 18:07:11 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=KtQNZvoj; 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 S1731210AbfDABFX (ORCPT + 99 others); Sun, 31 Mar 2019 21:05:23 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:23679 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726893AbfDABFX (ORCPT ); Sun, 31 Mar 2019 21:05:23 -0400 Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) (authenticated) by conssluserg-05.nifty.com with ESMTP id x3115Ahc023159 for ; Mon, 1 Apr 2019 10:05:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x3115Ahc023159 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1554080711; bh=VcswJh4pPO40p/qkhstAY6Wwwcr4Qf2MyUnW0QBEU/w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KtQNZvojLNMF/euqRT9+YA3t0KSLegmGxdWDT3gqWKpJ/ZoCjWXxf0mrAEHR7jHQa IClwSxuHCz59IVdbMd2bCZNhYPrVOsJ9l/V02/yP8qjMZpCce9x1gnYiqvSoJpiA8+ ciNMidOCTAzAwGL77MveKaXRLt2DC41BtoIlbzD7ELpdoGlzcNXc4AVpvGmC7s3cpK qfpuCnbDwOGQshHiwaqupTwyPAxSGFg551olqdvYPhM182VV7gNgejy/iYWYs/Y3tH lMnm2Cq5kAIt1l2zde1bFaVKx9xjcXtRfbIHSdQ3DMGs/q3LSrt5G4dBRY6nQe+qvH eGiqoRKP3Oi7A== X-Nifty-SrcIP: [209.85.217.53] Received: by mail-vs1-f53.google.com with SMTP id t78so4504274vsc.1 for ; Sun, 31 Mar 2019 18:05:11 -0700 (PDT) X-Gm-Message-State: APjAAAV/AftJ1m0qLx6b+JH8abpqogS/3rP+1suEYgSXJYyS9u/lOXlg NFqT4+jVBDerr3MjfLYtUQ7lUPro8wAomafAgKQ= X-Received: by 2002:a67:74cd:: with SMTP id p196mr36469211vsc.215.1554080710039; Sun, 31 Mar 2019 18:05:10 -0700 (PDT) MIME-Version: 1.0 References: <20190321220009.29334-1-andi@firstfloor.org> <20190321220009.29334-2-andi@firstfloor.org> In-Reply-To: From: Masahiro Yamada Date: Mon, 1 Apr 2019 10:04:34 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 01/17] kbuild: Disable -Waddress-of-packed-member for gcc 9 To: Arnd Bergmann Cc: Andi Kleen , "the arch/x86 maintainers" , Andrew Morton , Linux Kernel Mailing List , Andi Kleen 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 Hi, On Fri, Mar 22, 2019 at 10:59 PM Arnd Bergmann wrote: > > On Thu, Mar 21, 2019 at 11:00 PM Andi Kleen wrote: > > > > From: Andi Kleen > > > > This warning is very noisy in a default build with gcc 9. > > Move it into W=2 only. > > > > Cc: arnd@arndb.de > > Cc: Masahiro Yamada > > Signed-off-by: Andi Kleen > > I think W=2 is too aggressive. On many architectures, this finds > real bugs and the false positives tend to be trivial to fix > (by removing the bogus __packed annotation), which improves > the generated code in the process. > > Moving it to W=1 for the moment is probably fine, but ideally > I think we should fix the kernel to behave according to the > C standard. > > Arnd I agree to disable this warning option since we see a lot of instances. The room of argument is W=1 or W=2? I do not have a strong opinion either way. Arnd most actively takes care of warnings like this. If he looks into these warnings, W=1 is fine with me. -- Best Regards Masahiro Yamada