Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2252100ybd; Mon, 24 Jun 2019 03:20:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtW+bxz8Gs0FI9FDX485USErC+zoZZWTnYJvDFVLuGytU8nDWwsto2Nl43eKgpDBO3cMCj X-Received: by 2002:a65:5c8c:: with SMTP id a12mr922310pgt.255.1561371618415; Mon, 24 Jun 2019 03:20:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561371618; cv=none; d=google.com; s=arc-20160816; b=JJBbQYA5VzWY3QzQC/JpY7DaRyBdQmMuDhV+viniA/6CqDl3gDFupRD+QU7xzlpCp2 NE1ArRJWfRCAKhyp4dv+wXWItq/+pi/TQefDAMHJHrHdObYqA0bKLJcm5yx5Mzsphf1M quNk9oJA71/qhfRqu4QbOuLeFRmby/EPeD9SNkIonSp+m7UxZ4Uq7d3wb3neRFM9OHRx Gwv14nfIdL6NN0bBEF0YXtp37n/lIQQngNRA8uQl1Ny91IzPWzzg4UjTO6HNyhUDTTrK f9goS3jbSnm2m97vPtVKGO+i+4L0gNnxnv7oeEsndf/vJW98b1Z50l35owqxLQsHZRcb gUKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WIRYYK31OamVaEj7+pxFobwVAXcbUr3gJF5DWctmlE8=; b=wGqDCXdRj2uOBJRTlfF7iwi1ufM02Z/chkicMcsFu3NMLf5EYSkn2BgjcvjhFo/Qfz gjqHPWmG56QFGmIajvfIJSiu9NKULNBEye4a+JaVmbp5qctIkFhoMitQBSTl2aE9a2HX P5fizeDVqwbIKtY4iENJz5zxBK3aU7IA0CHxKeaDbKNfOCT+w9IC0/4cNMqDYpyAva3Z Y5scATyMClJ/xIvYdjLYKZQpNyxmH/r3W7gTkqSb5e07tFD3jU4xSx8ZuOLC8PdEJ/uU 13F8eLCbVB7vuFmuTbe2QAsDex1Xo/RS7flKq6Sqze2hGhwaw8eiK7TGvn4Qkiq+JcAA eZHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="yMltW8/8"; 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 15si9493687pgz.466.2019.06.24.03.20.02; Mon, 24 Jun 2019 03:20:18 -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=@kernel.org header.s=default header.b="yMltW8/8"; 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 S1730761AbfFXKQg (ORCPT + 99 others); Mon, 24 Jun 2019 06:16:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:54060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730754AbfFXKQd (ORCPT ); Mon, 24 Jun 2019 06:16:33 -0400 Received: from localhost (f4.8f.5177.ip4.static.sl-reverse.com [119.81.143.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 168E92089F; Mon, 24 Jun 2019 10:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561371392; bh=u9ikIP5L99GRe36W5rzHf05qB7Fpqvh4EkLSJK7oRMA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yMltW8/8pBn5VOmrVBpAqO9VRdgMogGH4Skqr/tYOwgYwHgNlUfbzI8bhBwhLgiHJ yyqwKwIPzL089/tF5YBPdnRqtUOpHdI55KJg0f1bfkxV3kyyNAv67kwMmU+QG5PwzN TWO/IdsBWgkJvJguadlRdvRQMfjD2kO78hVtB/b8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dave Martin , Will Deacon , Sasha Levin Subject: [PATCH 5.1 087/121] arm64: Silence gcc warnings about arch ABI drift Date: Mon, 24 Jun 2019 17:56:59 +0800 Message-Id: <20190624092325.272683883@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190624092320.652599624@linuxfoundation.org> References: <20190624092320.652599624@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit ebcc5928c5d925b1c8d968d9c89cdb0d0186db17 ] Since GCC 9, the compiler warns about evolution of the platform-specific ABI, in particular relating for the marshaling of certain structures involving bitfields. The kernel is a standalone binary, and of course nobody would be so stupid as to expose structs containing bitfields as function arguments in ABI. (Passing a pointer to such a struct, however inadvisable, should be unaffected by this change. perf and various drivers rely on that.) So these warnings do more harm than good: turn them off. We may miss warnings about future ABI drift, but that's too bad. Future ABI breaks of this class will have to be debugged and fixed the traditional way unless the compiler evolves finer-grained diagnostics. Signed-off-by: Dave Martin Signed-off-by: Will Deacon Signed-off-by: Sasha Levin --- arch/arm64/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index b025304bde46..8fbd583b18e1 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -51,6 +51,7 @@ endif KBUILD_CFLAGS += -mgeneral-regs-only $(lseinstr) $(brokengasinst) KBUILD_CFLAGS += -fno-asynchronous-unwind-tables +KBUILD_CFLAGS += -Wno-psabi KBUILD_AFLAGS += $(lseinstr) $(brokengasinst) KBUILD_CFLAGS += $(call cc-option,-mabi=lp64) -- 2.20.1