Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp852974ybi; Fri, 12 Jul 2019 05:44:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1lJpR8xpx9PfEotTmspNAqUoO7ltvRzDSa6ra4zjsDYnEwdOTfktdO9Aim4LaMD8vRh4Y X-Received: by 2002:a63:3203:: with SMTP id y3mr10768245pgy.191.1562935450979; Fri, 12 Jul 2019 05:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562935450; cv=none; d=google.com; s=arc-20160816; b=tERartxTQMMTeF0E23NAUJs5nhbK0cyUZ8L9jiWPn2g4dlK62nl840WzTMDNOnySRf 27c11Xofix6ln/28tOAZutsHbtc2OI5VmGSYCIEvuEYJkJwCFJN/M6vVU46NUwjeLjHf W96aIfvOyaW2hDe5h2Rjk0xHo3BQjmV4u6nUlVSmiJLGaNHlDxVRBZo7ZgYUW0M75Cte ixpcb0qHR1P5P7lfqJUXNoI5487iJW2JHH5zGY4CK0GvBtVd58I6oHWyx7A73r5nBtJG HL9X6rBHblKAM2HmCPb1nzB5c7upcCNnrIY0pa+KFx2j5kvkKvyGOmn85JvfgdQsrMFl Y1xQ== 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=tcD8nJ8Uec4LW3XF/+1kUF/2A+n9AXYxodFyH1mNjzQ=; b=RtFiVg1/yQ587DHMr6cJ7/kSQGTVqkB43MB7ZGypfR8ejLw24xO1STfBosqiF3EF7b Zdq0yvFt3pvbKSXps1cBS1NLmsDSNPoXhAW/E6ePr6TsyqhSwZn3h62wjtaLluq+Dq8L ujpPxel0EIItbGdJfIDIpUP/4FVnqF8OsEvzM/QPzmHlIYt7nb4jUKyQs4co/GaiEiJe PyMY57P1hZ20hBKD4wksfchyBMCu5O6Woop9V5K/Ms25ayYwP1G5pL+f5LmRy2/jXCwB jfNBAFLmMykmlLjw7Nm6Z06uFmkqeaGPxbeYEyADqFNV20DVEl+Mf6bzQeOdJvr4mZ31 AkIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n0TEnV4q; 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 m67si8122148pgm.319.2019.07.12.05.43.55; Fri, 12 Jul 2019 05:44:10 -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=n0TEnV4q; 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 S1727448AbfGLMUs (ORCPT + 99 others); Fri, 12 Jul 2019 08:20:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:54174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727417AbfGLMUn (ORCPT ); Fri, 12 Jul 2019 08:20:43 -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 36B05208E4; Fri, 12 Jul 2019 12:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934042; bh=AOLOOMSEGhe4lIwl7gpI2otGa4PS0CAr/wrU3MXzVpA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n0TEnV4qhNC66PFecyi49vWfDJXZ6N4k1Gh20Fldd4wmn8usXg/NqlckIAJqrfRPV ZUbAGX3uX5au/jeccMHNq44ujZpXY5/rw79s0OrYuXAdCAFnM9I6KgPIdQ9bqQ0XD9 MYW22dpBHx/yFKSqb7yHg+iuMvAUNzgY9wM8YT6M= 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 4.19 27/91] s390/boot: disable address-of-packed-member warning Date: Fri, 12 Jul 2019 14:18:30 +0200 Message-Id: <20190712121622.850914408@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121621.422224300@linuxfoundation.org> References: <20190712121621.422224300@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 ee65185bbc80..e6c2e8925fef 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