Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1047758imm; Tue, 5 Jun 2018 08:20:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLerqvNoIAA4eEPZBvxR0/Qi2i5d13Jtp/L8Mf5RdNeN+T92PxQHHum5Q1kckH7TjSda5nQ X-Received: by 2002:a17:902:284b:: with SMTP id e69-v6mr26182811plb.240.1528212034193; Tue, 05 Jun 2018 08:20:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528212034; cv=none; d=google.com; s=arc-20160816; b=Xr+28X41DyPhWuTvdqFdnAZmMeHvl1t8xFAVDPEwnKh8eAWJKsMtYg0KQrdmJDD0ca zu+OHspQrzS+JOFakTQ3dH+F9qV6EN5+Yvk30SPhvrYub3y+YQyB0xoaSXwjHSzvLSTc g6TRe3cNaG31Tbrw2deBrcFcCuLuSd+D2iyL8fXGL3b+z4AZ0PppNX9v+JUiMJEA3wt7 cRQVToGCX34hMgqNalEVhy2Ss4EvONoWCpUhR3mKGT/0xNTNAmLWb4potBgY6c11DQCz HUHJlcVbuD0iNylKtQq/nUxQJoXWCzsu5wpJ9JAj739iAYagRBCf5LP6RoujCp0GPfL3 Pa3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=yoVydV95zmRC8xv7EyX0j+EEcec21E0OM5nDTHUVQaU=; b=B5/PhArdz5i8t8k7UdWRJIGHTC3dpFQ00Jx7wqCo/IU0Qo4Txw1uMcd3u86M8WBX3+ uzOkAZR49HRFFExG53vg0XGyWkMdCq6E/K6ElKnrwJ8mq9swCQqWwLCvlpEuRyh0a7U0 sI1463XcFgWCbYVKkr27ampr0Mg2RQOpEOCTpFzq7a/wYotCoM+91QmmMHvYo5GhfcD+ 2PHd8UwbGWm7uK8eLyNho9EdD9AcPpkZ1Y9WN4KAGRRGN+rGQa67XsfX6UpfSs4jF5Yg XoHTLmBZf73lVVhYjPleJzc0yUImcHYZkqhilbzrriCIiUc6VYU0swDR6NDWGdj4gMJe MdiQ== 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 y4-v6si8750684pge.356.2018.06.05.08.20.19; Tue, 05 Jun 2018 08:20:34 -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 S1752101AbeFEPTk (ORCPT + 99 others); Tue, 5 Jun 2018 11:19:40 -0400 Received: from ozlabs.org ([203.11.71.1]:41381 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbeFEPTf (ORCPT ); Tue, 5 Jun 2018 11:19:35 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 410b7p2cVbz9s08; Wed, 6 Jun 2018 01:19:34 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 415520373975d2eba565c256d2cad875ed4e9243 In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc: fix build failure by disabling attribute-alias warning in pci_32 Message-Id: <410b7p2cVbz9s08@ozlabs.org> Date: Wed, 6 Jun 2018 01:19:34 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-06-05 at 06:57:43 UTC, Christophe Leroy wrote: > Commit 2479bfc9bc600 ("powerpc: Fix build by disabling attribute-alias > warning for SYSCALL_DEFINEx") forgot arch/powerpc/kernel/pci_32.c > > Latest GCC version emit the following warnings > > As arch/powerpc code is built with -Werror, this breaks build with > GCC 8.1 > > This patch inhibits this warning > > In file included from arch/powerpc/kernel/pci_32.c:14: > ./include/linux/syscalls.h:233:18: error: 'sys_pciconfig_iobase' alias between functions of incompatible types 'long int(long int, long unsigned int, long unsigned int)' and 'long int(long int, long int, long int)' [-Werror=attribute-alias] > asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > ^~~ > ./include/linux/syscalls.h:222:2: note: in expansion of macro '__SYSCALL_DEFINEx' > __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > ^~~~~~~~~~~~~~~~~ > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/415520373975d2eba565c256d2cad8 cheers