Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp617595pxx; Mon, 26 Oct 2020 17:03:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+uE7IbTnxxTPlGpCC8Q/2/VNo2Amp+IQd4NwtQUdbVAe1Sf0vFOdojd3L4N6fCP2fRCL3 X-Received: by 2002:a05:6402:1585:: with SMTP id c5mr18627974edv.278.1603757029591; Mon, 26 Oct 2020 17:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603757029; cv=none; d=google.com; s=arc-20160816; b=dXPDZQhTihMXCTKSwIydjeg9TqKE8in6BTugPUpJvCQxb2qKDRfA0aYz3a57HOPZcD gQgYHDhgLzVN39QuyG8ebk+hhJLsOnO3DypTgyiKEoLjc3kX9/hdQ6ad7+j78Ox6Z6pg Wh36fKiQJmK+J+dAtILU6MXpG8rB6zCMByokk0G4a5P0XjZL1pzV1oW20BkN0EeOjnrc PjPxfyAjaBR7EkMgYKn2tSIs/ILJ2MN+ZcwLrFK4uiqbuMb0NxIx37kFjuct8fAAjcVZ VEauxzvsmBPv65Dujdrx3diSfqw7eP6MXoQaBqDdqSz9McOxTCqmyFBhSFKXtTWwTtPM AypQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EGApPqXl27c/rYhyat33iXgrWMCKpbWQf2GZ6hPOh5w=; b=FqiTRagQWNikpkvsBnMwyx/pBa6vmlhzcyaLKUoeJpiyCE8d2kS5LBl/ft5cia60S7 liJBL2SLj5/2QV2z8hcgGsSUlom/JIca49cZz5qTfuEllk2w6JZVSv7xx8pnQm9hjxB2 dFixygRZnwupjTIZXFBJ1ooYFdR5tz7GzQOEsUh2qMsOizkcGGvf55xWw1FS8plpl8V2 aTKwG+1j//2PnFGW8WQJXbui8VjkEmhQT3zdVPK6Gr35nDS7bSf77i3rH6KZhMk2xZpp 8FQKabsXs7i5GbbiA/QvWImYjEDFhVpAIIMQBNx15JVyp3hCAPs4HDZW7OioaOUdpfge 7Jpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rtBeg7mo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si8291296ejk.344.2020.10.26.17.03.27; Mon, 26 Oct 2020 17:03:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rtBeg7mo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729300AbgJZVBi (ORCPT + 99 others); Mon, 26 Oct 2020 17:01:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:55972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729137AbgJZVBh (ORCPT ); Mon, 26 Oct 2020 17:01:37 -0400 Received: from localhost.localdomain (unknown [192.30.34.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D79C920829; Mon, 26 Oct 2020 21:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603746097; bh=Sl0AeOUeKfSSE44S4mD27orpF56Z7J4Bt+Y+zUMMhI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rtBeg7moyP4a3B0SOX45SiZm/0H9T7+m88WonKBeQpCZrNXuvsDDBReECtc89l7mB HTATx/M+wvYCcJqGBOrPtSYLFQRYvxrzpO/F2uouCVJxPK+YugcbhDvk5M/yQMcO6g rbWaVRMU2coTP9psQFMCCYLW8u3avu/7Roo7jnGA= From: Arnd Bergmann To: Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter Cc: Arnd Bergmann , Hawking Zhang , Leo Liu , Likun Gao , Huang Rui , Yong Zhao , Evan Quan , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] drm/amdgpu: disable -Woverride-init warning Date: Mon, 26 Oct 2020 22:00:33 +0100 Message-Id: <20201026210039.3884312-5-arnd@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201026210039.3884312-1-arnd@kernel.org> References: <20201026210039.3884312-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Building with 'make W=1' produces countless warnings like amdgpu/../include/vega10_ip_offset.h:276:51: warning: initialized field overwritten [-Woverride-init] Shut these up by disabling the particular warning in the amdgpu driver. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/amd/amdgpu/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile index 247dd46e1681..5a46949bc17c 100644 --- a/drivers/gpu/drm/amd/amdgpu/Makefile +++ b/drivers/gpu/drm/amd/amdgpu/Makefile @@ -36,7 +36,8 @@ ccflags-y := -I$(FULL_AMD_PATH)/include/asic_reg \ -I$(FULL_AMD_DISPLAY_PATH)/include \ -I$(FULL_AMD_DISPLAY_PATH)/dc \ -I$(FULL_AMD_DISPLAY_PATH)/amdgpu_dm \ - -I$(FULL_AMD_PATH)/amdkfd + -I$(FULL_AMD_PATH)/amdkfd \ + -Wno-override-init amdgpu-y := amdgpu_drv.o -- 2.27.0