From patchwork Fri May 4 19:23:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 909005 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40d26903Xsz9s2k for ; Sat, 5 May 2018 05:25:21 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qL4wYaTn"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40d2685LjbzDrLj for ; Sat, 5 May 2018 05:25:20 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qL4wYaTn"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::244; helo=mail-pg0-x244.google.com; envelope-from=raj.khem@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qL4wYaTn"; dkim-atps=neutral Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40d23z5CgYzDr4K for ; Sat, 5 May 2018 05:23:24 +1000 (AEST) Received: by mail-pg0-x244.google.com with SMTP id g20-v6so9379260pgv.1 for ; Fri, 04 May 2018 12:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=dG4kxJ/eJg/BMybD/yQcj78xoEKwCwntgTKNYdfkR8Y=; b=qL4wYaTnqwWYYzo1mE+DUOlLehrhvAlv/eahUIwzg+eFJ0nVO4C65lf+ktPOs1Iluv OsFBxwSYHqPOJ+wHZNGT6BZufGJtTqTwijrsOmNprKPEzkUKLMtzPuoItHrbCTJc4God holvJmz1dfsoowvCUdFhREWQQu/TxCEOxV7MJOM26nxTlGONTseAO9EpPlqwsOM+TCQL PcIJea7aKAdqU2pcYqsvtZg0rA6YpqKK5qq0bSM9v4pCGOsaHrxhb+B49v6krJLiUwsu Qrn8EKFvtV76qMRzgr1rRTbKuGh+MdlzhfOfNbrbeY56wFR/MsJihTPXco4W3fviD0yD D8wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dG4kxJ/eJg/BMybD/yQcj78xoEKwCwntgTKNYdfkR8Y=; b=Leq6AuK43wJf46zZv3813v9NBU01NFQg/QcrCfH53E8/v3XgnQIKbjjYOGKZv7rNUq imA2tG4lgqvBiqf1RLB3ePUeFaz8InX2SY6AndJ60RpUJQywtxy9JxnurROAY2MA22vX 3HwVYlKEL3WqLlPCi7JMxq2jlzchvVchFXvW/X3L4SoTj8KGi8ywRwTmQr1rQ++35L/A WK00RiH+KteIJMEoWzDXjSd4hPgF1X5pDlUoRZEbR2rpjk+IjPr2w7RS44/zUHBsuETt YXnW/dxLC/8QK81GHtzgS277ktypWjVKJE/9MWzqVFPGNL/zcaLfvlEXMEp0Ar68fkLB UL4A== X-Gm-Message-State: ALQs6tB9pYpPp5Yk+xL8pA8s2sD+P2rNvFCtw+SxnhgDruExh0P+r3Ww VmztakOKbXzIRlV5i1pWNisLHQ== X-Google-Smtp-Source: AB8JxZrF+EnIlHHH7J7EqbBT2TGdSjLjawGeNk+ZWJHU5k7T7hXSAN6iY8A0R6dT/ZmAWvjF3eyy4Q== X-Received: by 10.98.92.6 with SMTP id q6mr15476500pfb.118.1525461801401; Fri, 04 May 2018 12:23:21 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id h1sm34207783pfg.135.2018.05.04.12.23.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 12:23:20 -0700 (PDT) From: Khem Raj To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/2] powerpc: Disable attribute-alias warnings from gcc8 Date: Fri, 4 May 2018 12:23:12 -0700 Message-Id: <20180504192313.18625-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Khem Raj Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Fixes alias between functions of incompatible types warnings which are new with gcc8 Signed-off-by: Khem Raj Cc: Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 2b4c40b255e4..7ac5a68ad6b1 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile @@ -3,7 +3,8 @@ # Makefile for the linux kernel. # -CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' +CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' $(call cc-disable-warning, attribute-alias) +CFLAGS_syscalls.o += $(call cc-disable-warning, attribute-alias) subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror