Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp837624ybi; Fri, 12 Jul 2019 05:29:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyT4dyT++3syR4MewKT0WpatnwUvNu9M7mOrBj9VLfpIB04y/9J2FSLEn6naWMxFJUs6lwP X-Received: by 2002:a17:902:8548:: with SMTP id d8mr11254206plo.100.1562934554334; Fri, 12 Jul 2019 05:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562934554; cv=none; d=google.com; s=arc-20160816; b=MvpVvuRJvZv5bWuNrcpvLjC/5P8smLgE/iwycFjSA+bK4ef4a7PxGT51VlDImLOQfE JhcORK0wxPeecABjSCHcpHAXlBgLPnUUayuUKEP+cklbjwRNilQjpV6MPaXXw9jTfSb0 HOR0zNOiRWeGi74/zBx8gUsQvt88lE0I2tq7NyRXDOjxlFjvv0eiVob+HYDF87sX/VXj vVHkDSGaW/yFSfmBQzxyvJ82yqLOEA36w8s7+pUvb905MUM59xdn3JplreG96PFbyI6s zEQrDRaHBEewtKec676YhVyi+Av/sPPrRO0eI0rJRfDjiAuETTzeaI3AD/Z+QNZNtNZa ahaw== 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=ekoPjXjtu4jGTGfU/UXO/4QbRvHkK1z+OjRXJVLjjnE=; b=xzi3mjGq02zO6UIYff/Nh2HL+m6EQ4gC5Dj16R20R3pgwwQuJbK+JAqMHV8SlpuJqA onZz0oz8yRP0Hy4+KZSlXAgicsORCjAeWyvX+FuCc13DPSuOpV7L0Ar6ku8iINBB2dxm GhIqf9YztGXv2G+RD1yhghpBGZSCjGKA5odKHGphx+psq7FUIuXFjM+6mBSkUGA7C5JE 7+7QTO5m0r/GnyICbo6JLY+LgkTlD6Jcmrt1eLjA8kWQRDcLWGQdEzxnt9EStF87eo7+ 8IdhmgvsWst9oGVc69vp+XUBLw1Go1UfH4IOWYFwpgtvbHRGPATW7IU7F7exOJ/JslDs a1VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n+20V3qH; 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 h2si7899366pgs.227.2019.07.12.05.28.58; Fri, 12 Jul 2019 05:29:14 -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=n+20V3qH; 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 S1727723AbfGLM0p (ORCPT + 99 others); Fri, 12 Jul 2019 08:26:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:38174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727334AbfGLM0m (ORCPT ); Fri, 12 Jul 2019 08:26:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 9A8BE2084B; Fri, 12 Jul 2019 12:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934401; bh=ohvH335AArOEC79sETN6ABZrs+hK4BnqYdeYO6lCMj8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n+20V3qHZ5sctwP8N44T7vLnuJNLKCQrryFinQ23ySSI7TJ3bDcaa5vY6PtWPtL4W AktM6cei6bzg5j12/q8lGLSHPZU+BC2ayI1P2fmDsUkwbXD9OGwqBvRqnh0OMSLgiu jrnu+GnPBP8fqx7b6oo7eFon/h1pYJ1I2zhEPhk0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vasily Gorbik , Heiko Carstens , Sasha Levin Subject: [PATCH 5.1 044/138] s390/boot: disable address-of-packed-member warning Date: Fri, 12 Jul 2019 14:18:28 +0200 Message-Id: <20190712121630.363021045@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121628.731888964@linuxfoundation.org> References: <20190712121628.731888964@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 f9364df30420987e77599c4789ec0065c609a507 ] Get rid of gcc9 warnings like this: arch/s390/boot/ipl_report.c: In function 'find_bootdata_space': arch/s390/boot/ipl_report.c:42:26: warning: taking address of packed member of 'struct ipl_rb_components' may result in an unaligned pointer value [-Waddress-of-packed-member] 42 | for_each_rb_entry(comp, comps) | ^~~~~ This is effectively the s390 variant of commit 20c6c1890455 ("x86/boot: Disable the address-of-packed-member compiler warning"). Reviewed-by: Vasily Gorbik Signed-off-by: Heiko Carstens Signed-off-by: Sasha Levin --- arch/s390/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/Makefile b/arch/s390/Makefile index e21053e5e0da..bbd2dab6730e 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile @@ -24,6 +24,7 @@ KBUILD_CFLAGS_DECOMPRESSOR += -DDISABLE_BRANCH_PROFILING -D__NO_FORTIFY KBUILD_CFLAGS_DECOMPRESSOR += -fno-delete-null-pointer-checks -msoft-float KBUILD_CFLAGS_DECOMPRESSOR += -fno-asynchronous-unwind-tables KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-option,-ffreestanding) +KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-disable-warning, address-of-packed-member) KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO),-g) KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO_DWARF4), $(call cc-option, -gdwarf-4,)) UTS_MACHINE := s390x -- 2.20.1