Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5606440imu; Mon, 26 Nov 2018 02:55:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/V3Mb1z0IsNMrtm4YMh6bNk0kmqofNsFIYMTsAmFZ1BKaFILuN8C6XaFzOHdpIOh7nzplAh X-Received: by 2002:a17:902:9698:: with SMTP id n24-v6mr27754108plp.9.1543229723893; Mon, 26 Nov 2018 02:55:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543229723; cv=none; d=google.com; s=arc-20160816; b=cwX7kzzHzW8WnF5zX/R1x0ra0kqG8dYEkgvnAbOZsjc6vi/dhLkIdJ9n82j+hJ5am5 sGOu3bZvz9ciNjel6o82+7weWtWEGrdGe+iF2Mzdm0ro9R7oOd8DLXnfoQJGU+eGPGr2 ZQF4ZUVJ1N3dRbc+zICIL8UAb6cn/ot4q6e77D12A+0Wj3n8Tj7yL4cCDc+0W2Km0qQ+ yp9lAykoKqHDmaTzyXg0CHhtRuLyUq0D+3GA6jCxDNVNzpkq4mvEqZUR7JAR2IFsn1vc ukrz9ZRfvAf+jKNzVeCb9hbaTnUph9hvJCznoyH8xPjfTiVozW/rSyqZmkl6FNk4havq L8Iw== 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=mOt+/oCmF4MCD3PlTKZmOSeFNtN002c4A2Y5unXa6H8=; b=LmwfB0PQES/KNKzGzQblfeoWmUlZEEiN+kC0lF6uJ5E7/q4jQJyXBA47blnE/UmUYC BX5DsrR8S5csgVI234cQ7zRoc0qgoLiGuNdgfhDCv8AIJdkratLDBWdvswxkqWNdSQb7 JZ+pjG5xnDiy1NMrMDXCu8V55ynyfMxKuWS2yYtdh2DsjpmTwjuDijjukvYMSFWxAxna 0XlKR7CCdKWadI4JTDE2yEHhJnnoTUtFwiePwbUad+jctLuiy3ia5QZRIfX75hMwPlJX vB2Te/dNBXWjmHnYXJsktCeE0LI5GTdRXG0aXrG/xH4tgL58ZbZICFVfFLNRPn0ZIXGM vDDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v77hMuUG; 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 z18si58227422pgk.367.2018.11.26.02.55.08; Mon, 26 Nov 2018 02:55:23 -0800 (PST) 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=v77hMuUG; 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 S1727207AbeKZVro (ORCPT + 99 others); Mon, 26 Nov 2018 16:47:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:55996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727045AbeKZVrn (ORCPT ); Mon, 26 Nov 2018 16:47:43 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 9D69120817; Mon, 26 Nov 2018 10:53:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543229640; bh=idQ3SjPcJTjMjssrQlhDp5EqjBgDujyTkAUdmMfPD/M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v77hMuUGqwE4HSauKgRhFdISPJLuJGEc83hWrY4d4WP3t/W49WU2itNscbt9AJthi pLBZPr5Bo6yyKBKwJ/LZAfVbWC2iUDKse4gAJxZ8HWY5T3+mlcS/y/7b9OSVr1R/ql mK74dJPsJZ+bis6G+9qM5liGMraLwfioYJQP1LJk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matthias Kaehlcke , Douglas Anderson , Masahiro Yamada , Nathan Chancellor Subject: [PATCH 4.4 16/70] kbuild: clang: Disable address-of-packed-member warning Date: Mon, 26 Nov 2018 11:50:31 +0100 Message-Id: <20181126105048.431398335@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105046.722096341@linuxfoundation.org> References: <20181126105046.722096341@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review 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 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Matthias Kaehlcke commit bfb38988c51e440fd7062ddf3157f7d8b1dd5d70 upstream. clang generates plenty of these warnings in different parts of the code, to an extent that the warnings are little more than noise. Disable the 'address-of-packed-member' warning. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Signed-off-by: Masahiro Yamada Signed-off-by: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- Makefile | 1 + 1 file changed, 1 insertion(+) --- a/Makefile +++ b/Makefile @@ -711,6 +711,7 @@ KBUILD_CPPFLAGS += $(call cc-option,-Qun KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable) KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier) KBUILD_CFLAGS += $(call cc-disable-warning, gnu) +KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) # Quiet clang warning: comparison of unsigned expression < 0 is always false KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare) # CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the