Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2043770pxu; Tue, 24 Nov 2020 15:40:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1OZi3bF4QlYgMDE/mzA3v+CQMJsrujKJ4HelQob8MLJcVpGK+10PyLmHb8s4COLXP5WBx X-Received: by 2002:a17:906:af47:: with SMTP id ly7mr813731ejb.532.1606261244963; Tue, 24 Nov 2020 15:40:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606261244; cv=none; d=google.com; s=arc-20160816; b=JGzGLo6Jd5q0G5UxMoBLI+d5vSiPDUsaoNzcAbuSwrYMAfh9ugWao5zM7p0o7ZlOq7 RRT2CnnougaOzoWHp007al1D45xkEZ1cf3ApAfIT1sPEvg2Ite4EJ19VNdcyS4MMfC1M 5TCbyuNmM9RegCp/aSKR9SjBa7aQbjStw6/yPoshZc4SAevLXOkxakbAU3kNT4VdXTj3 3/gDKb5u0ENZaIB2QjSCz9oxu8IH5dDwjdJwYkdJPXsYEEYTkvB50meDZIRJ+Dd4m0Dk vgZMtEUUmQ8kUf5l6Xda5br+a8j7wfTXCoS+7hI1SN6IBSfP5BdDTDd1mUpXxtlQHaT/ GXfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=a025llBjrOgh57FwURmzXOqxqtmRhk0DL79snbqwcHs=; b=MsUlFz2Z5osfLNn0BANwPTSVB8JtzciebdLDT/i9Wxzk/hCqgRaHA0ieciUae5B7/M bbMhuAsN5NckbSCzl1/5q2JDNyAKNYhW61CDZtGxmkOlmabhuOBfSprE4riXT4z5NJuA kfRcR05kpMaQqv/VkH7mp2XFLk93KgYdck6HiMcu8lq1r2xu+X4FVmC+jdlKY9H0u0Rf r/FbhcYkfxPXmad6+WDAcKNWD+8rUO0+mkxaO7Q2/BMDOy0HCuJYIEcoikzY2shkoGQ0 GcehHfk7Slwa4S/ODqag3+OIHcgQGwZOodsEu0UWtw64S5FfbeTihlX8eyCGclY/dQhK ElWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ChTECUkl; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi2si160956edb.237.2020.11.24.15.40.22; Tue, 24 Nov 2020 15:40:44 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=ChTECUkl; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390458AbgKXQ1l (ORCPT + 99 others); Tue, 24 Nov 2020 11:27:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390003AbgKXQ1k (ORCPT ); Tue, 24 Nov 2020 11:27:40 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4723CC0613D6 for ; Tue, 24 Nov 2020 08:27:40 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id a65so3492697wme.1 for ; Tue, 24 Nov 2020 08:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=a025llBjrOgh57FwURmzXOqxqtmRhk0DL79snbqwcHs=; b=ChTECUklJcsQ3TMYgEboImd53xNjfpMqloeOZ4lZhjyxWxAs06Aj+G3MoJwDHoJgJ/ 9POE4CKA1o2hh7EadKWBXCst0rH00OzOJbh8/e2KWY6TUY88bRhbdTt9QLEgpkURXnPP n3w7xK+TOCR0KWOfItbjF+H5ethAkG+FaImhMTi0tYKATX6qg8QiAHbMwjuQ6sLM7E1S cfJHqul9g+j7o1gyCrulnxsyVoyAwhJHKXDCfDPJkIbX7iAJ8DPmKXKyYzLYodQ7p5Fc zYLo87YI/3XYhyuBoZbeXexBfVKQKzoeKrrFC+RFHxuUbEKLlbprvkD3vx5GNi14cUex Y2Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=a025llBjrOgh57FwURmzXOqxqtmRhk0DL79snbqwcHs=; b=EMb29RCbd0g+vaj9ZtkvpYhJt8Sl7JeWzXVwK5epIlFLZ29anI6Nx72okW68yA/wp4 yvMJOQe3QPTwq683jq7RSoUHkF6fB0okiUPYkYVAYE6IKgSHcNsF6mc9Ty0rFgEd02Y6 d1udCLObdMGcFMEQbAUf0/4zzm0gOC712C84+ep+b5QM1tqkS+JJ0oRNQffkHfwXChq1 yBwLURVxvNZALK2D4l4w3/nBfy9UxJ+gYv78ORNc6SoFX/cjhbOfdpQtm11o7CxdlBP+ 9axSrQ88w9mDyyuQC543dF+u+OtkRZlfO/Vr2/kAXqufHVBEYhitZDBe2Q+bu8bnRqOC fKQQ== X-Gm-Message-State: AOAM530u5TByoUjEe4ftWY+QSMfydfd3WuQRQ9ap54+PS3uFne79hFpL ntqAu/mpd1nRAb7wgNE1PbTVhyylOVL6/Y++eLo= X-Received: by 2002:a1c:f017:: with SMTP id a23mr5301350wmb.56.1606235259096; Tue, 24 Nov 2020 08:27:39 -0800 (PST) MIME-Version: 1.0 References: <20201123111919.233376-1-lee.jones@linaro.org> <20201123111919.233376-40-lee.jones@linaro.org> In-Reply-To: <20201123111919.233376-40-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 24 Nov 2020 11:27:28 -0500 Message-ID: Subject: Re: [PATCH 39/40] drm/amd/amdgpu/gmc_v9_0: Remove unused table 'ecc_umc_mcumc_status_addrs' To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 23, 2020 at 6:20 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:382:23: warning: =E2=80=98ecc_umc_= mcumc_status_addrs=E2=80=99 defined but not used [-Wunused-const-variable= =3D] > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 35 --------------------------- > 1 file changed, 35 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/= amdgpu/gmc_v9_0.c > index 0c3421d587e87..fbee43b4ba64d 100644 > --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c > @@ -379,41 +379,6 @@ static const uint32_t ecc_umc_mcumc_ctrl_mask_addrs[= ] =3D { > (0x001d43e0 + 0x00001800), > }; > > -static const uint32_t ecc_umc_mcumc_status_addrs[] =3D { > - (0x000143c2 + 0x00000000), > - (0x000143c2 + 0x00000800), > - (0x000143c2 + 0x00001000), > - (0x000143c2 + 0x00001800), > - (0x000543c2 + 0x00000000), > - (0x000543c2 + 0x00000800), > - (0x000543c2 + 0x00001000), > - (0x000543c2 + 0x00001800), > - (0x000943c2 + 0x00000000), > - (0x000943c2 + 0x00000800), > - (0x000943c2 + 0x00001000), > - (0x000943c2 + 0x00001800), > - (0x000d43c2 + 0x00000000), > - (0x000d43c2 + 0x00000800), > - (0x000d43c2 + 0x00001000), > - (0x000d43c2 + 0x00001800), > - (0x001143c2 + 0x00000000), > - (0x001143c2 + 0x00000800), > - (0x001143c2 + 0x00001000), > - (0x001143c2 + 0x00001800), > - (0x001543c2 + 0x00000000), > - (0x001543c2 + 0x00000800), > - (0x001543c2 + 0x00001000), > - (0x001543c2 + 0x00001800), > - (0x001943c2 + 0x00000000), > - (0x001943c2 + 0x00000800), > - (0x001943c2 + 0x00001000), > - (0x001943c2 + 0x00001800), > - (0x001d43c2 + 0x00000000), > - (0x001d43c2 + 0x00000800), > - (0x001d43c2 + 0x00001000), > - (0x001d43c2 + 0x00001800), > -}; > - > static int gmc_v9_0_ecc_interrupt_state(struct amdgpu_device *adev, > struct amdgpu_irq_src *src, > unsigned type, > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel