Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1748528imm; Sat, 23 Jun 2018 01:43:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL/bnnJH4YH5RCnA0uWwYX/KUVF3p4x/zgB9BaWHGFjKvLbwwaYXsfECU5sqnY6+C/gCNd+ X-Received: by 2002:a17:902:2927:: with SMTP id g36-v6mr4676448plb.303.1529743418038; Sat, 23 Jun 2018 01:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529743418; cv=none; d=google.com; s=arc-20160816; b=PuL8K/9rDFOgWFk/b6yVhXVK7/sjkFcuI67DaVYOzSxGKPKhLNvMXBGF5Z2X53YVWR C0siUbSt7oDXEDLvaMZwsT6BI6fGK/3D4VfbEn94mh6gEtQhZ+LY++6DUaIELoyJdR1u FLHT8cdZmJkcIStIdxhQMVVAF6p7rQYNCCAJnr3ufsRcphsD/bZdDAgeRAcEOqkIYled y2fwXKe+UWci7mbuwk75zpkxGM/+Fb85O9KT9BUybX5vWRdYK5ustdO8VIBq5e3kgioS vahn8WBgpGUA32cPnIeXnuAS8kZJ5/mL5dsUa/k/dba2QWAbJ9dHKEAmABdkZXQs8Jb8 X84g== 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 :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=eoVsUjrTCNVbfRDhPiyiF8cS5j9cLMlWN9SNBp4SvRE=; b=0K3ku/WWfr4SgMd9pQYD7qpeN4V6eBu3aw2D/QCQS9EB2X5cGG1uY1DKHUfuI6PGV9 9Uhnf1ezyfdt9faiZefsL6ghRpKk1VDEbWx5IYF1305ZuTv2i59eiHjjRZsx1J7O3DsC O7rKYAVozyJzVrrs/OQIZfZyjqwOFASyRBwdIT5kUl/fcFljR6ZNmPQWWptUA2g51rFP A5AE/VGrmarveaZWQy7/FyTNB5bkm4hGw56jWR3CRLTX7mGGD4WRe7kKgMk0+WrHBIYs BG9AElz5SthacwDNr4Bgolr50XomwAdgSjS1bA/wcRZDXSgMNA0PHUsg16qCUHVSBggz JROg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=inwH6OMZ; 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 q7-v6si9338378pll.445.2018.06.23.01.43.00; Sat, 23 Jun 2018 01:43:38 -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=inwH6OMZ; 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 S1751786AbeFWIlG (ORCPT + 99 others); Sat, 23 Jun 2018 04:41:06 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:43018 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769AbeFWIlE (ORCPT ); Sat, 23 Jun 2018 04:41:04 -0400 Received: from mail-ua0-f169.google.com (mail-ua0-f169.google.com [209.85.217.169]) (authenticated) by conssluserg-04.nifty.com with ESMTP id w5N8erbY029944; Sat, 23 Jun 2018 17:40:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w5N8erbY029944 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1529743254; bh=eoVsUjrTCNVbfRDhPiyiF8cS5j9cLMlWN9SNBp4SvRE=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=inwH6OMZSoIisRUzGlywshODTb6vj0P/lfbw2nQA3qtYDG3LBTMcMJGaiWIRvSxes iHFMiPEmtDQV+jdVuMRm5WpS3QczvoomeNI4hrBmOy98dRDCFab/1jlwM7nmOvmjSk A0si1XiSvO1bU61IrjTN2cCtp9RIf+JmqwveFtkRMwxJz7JMCsgE9T6RNSzauFa3kL qjKV56kjIgjqYhnttnv2+noij7X0FYJIbbZuLjQ0FIyqxNxsIwTGvUXcZAfUDpQ/TX 5mV5mELRU/2ZxMlcYUgQdoe7FaqVu82nAtEnPwlYr/pjhGtbsNPDCLnnuo4j4dcXMA qQgIVzh/5yQqQ== X-Nifty-SrcIP: [209.85.217.169] Received: by mail-ua0-f169.google.com with SMTP id l11-v6so5742384uak.7; Sat, 23 Jun 2018 01:40:54 -0700 (PDT) X-Gm-Message-State: APt69E1XMhcVS5amaI7ynQdDZErhhe09wBSAR5K55d8qCn5qpjUOeA41 BMzfVCvvo/YT1pWzrUSGipE1/ueEe2QfBgtMv/k= X-Received: by 2002:a9f:3d6b:: with SMTP id m43-v6mr3131588uai.17.1529743253133; Sat, 23 Jun 2018 01:40:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Sat, 23 Jun 2018 01:40:12 -0700 (PDT) In-Reply-To: <20180619201458.4559-1-paul.burton@mips.com> References: <20180619190225.7eguhiw3ixaiwpgl@pburton-laptop> <20180619201458.4559-1-paul.burton@mips.com> From: Masahiro Yamada Date: Sat, 23 Jun 2018 17:40:12 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/3] Resolve -Wattribute-alias warnings from SYSCALL_DEFINEx() To: Paul Burton Cc: Linux Kbuild mailing list , Mauro Carvalho Chehab , Linux-MIPS , Arnd Bergmann , Ingo Molnar , Matthew Wilcox , Thomas Gleixner , Douglas Anderson , Josh Poimboeuf , Andrew Morton , Matthias Kaehlcke , He Zhe , Benjamin Herrenschmidt , Michal Marek , Khem Raj , Christophe Leroy , Al Viro , Stafford Horne , Gideon Israel Dsouza , Kees Cook , Michael Ellerman , Heiko Carstens , Linux Kernel Mailing List , Paul Mackerras , linuxppc-dev 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 2018-06-20 5:14 GMT+09:00 Paul Burton : > This series introduces infrastructure allowing compiler diagnostics to > be disabled or their severity modified for specific pieces of code, with > suitable abstractions to prevent that code from becoming tied to a > specific compiler. > > This infrastructure is then used to disable the -Wattribute-alias > warning around syscall definitions, which rely on type mismatches to > sanitize arguments. > > Finally PowerPC-specific #pragma's are removed now that the generic code > is handling this. > > The series takes Arnd's RFC patches & addresses the review comments they > received. The most notable effect of this series to to avoid warnings & > build failures caused by -Wattribute-alias when compiling the kernel > with GCC 8. > > Applies cleanly atop v4.18-rc1. Series, applied to linux-kbuild/fixes. (since we need to fix warnings from GCC 8.1) Thanks! -- Best Regards Masahiro Yamada