From patchwork Mon Oct 26 21:00:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 318993 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp997080ilc; Mon, 26 Oct 2020 14:01:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/c+mAlleTUwmV39o4uDchP2dvq7w6yuyRAWcb6MQsP+RIVePJ2deVneEpGvG293zCMd9f X-Received: by 2002:a63:5466:: with SMTP id e38mr18500645pgm.23.1603746098961; Mon, 26 Oct 2020 14:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603746098; cv=none; d=google.com; s=arc-20160816; b=QXR6rXjCFmzVq6WQU3pnoFF0FihzA5wy1jJKdBFLpRA33dbfhp0VsPleeH05Gn7mkt SnmgCKuusJV/Y0tMZ8BDN2U1g3IUudc6Ie6J7rIwn8m4YxvowhEvDqw4W0ZEzY3PUISi Cvcnwa+6IQ7D4rXgKJER2yZXw5idYXdqSiGVCrOOLN6rtik4ZUBUczrIzYsi3ZFBTtp5 8sfm3EABn/Y9SMCFMfrEFxnjaOJOKL+/YTfgTO7xHw7IkcVgDn1orK0xLKx1XVtyaPF8 jILxcJPu76qbAW6rYH1uQZq6LJ9WCIqfXUv5KIrHEyyfsfDymsSTrrvujYM+JwHi3vlD ZlIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=jyO0acHo3oLHbXXZfF31t9XTQ8s3yVygsumIRQeR388=; b=u9X8aRPM21OYBeGWSTqn2fExd/G9JVyQ8cRc+uZQPzOvVnyR1TzmRnZBHtK/koZR1d Q0J0m1MqEgy/p/FnQaQRHZV1wuFiEf1e+u50cc9rVoZwEspg6gWrTQIDEbTm87o5TXnN 3UpuD3BwOxWRzZvommTazHb37VnQNsXuN+an+HBiHs+QGcWq9RmapqnOnpR7MLJSpu9i 6aeUfmw3eLugOx3qsseEtj1M0k2atuXu0I8C5shBrTZ7GzfxrcqUJDGemoVVKWhiihFD TpHP9HpiBRV5bNvdqGOEc0QuCIF5I1TBMeX691e18wvEAEQtfa7KHupjEnrOUIV2uoV1 iSPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=rtBeg7mo; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id k61si10023056pjh.27.2020.10.26.14.01.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 14:01:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=rtBeg7mo; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1332A6EA6A; Mon, 26 Oct 2020 21:01:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 710726EA70; Mon, 26 Oct 2020 21:01:37 +0000 (UTC) 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_K=C3=B6n?= =?utf-8?q?ig?= , David Airlie , Daniel Vetter 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yong Zhao , Arnd Bergmann , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Huang Rui , dri-devel@lists.freedesktop.org, Likun Gao , Evan Quan , Leo Liu , Hawking Zhang Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel 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