Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1081532pxb; Fri, 26 Feb 2021 01:57:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxL40NksVf+bDw6FI1UUnFBem0EQtIu4TQd0OLa9c8eqWwYJejBsc54spNQjqL7LekQyt+V X-Received: by 2002:a17:906:c24b:: with SMTP id bl11mr2511880ejb.80.1614333440886; Fri, 26 Feb 2021 01:57:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614333440; cv=none; d=google.com; s=arc-20160816; b=tg1On54GzNEi0NrezCoK+ZTv7d+YKoMhNlH+w67DiSke182OQ033rRnunqfJy/6gQx XlnZl8udUnmDNP5AVd5WHgJ9zcb6UBOyYUWD52G+8erOdYEFKxVQTTR4zx9JM3OQFs0A bAD4iridbykpsM7CJzIS6gO9MPdUpS4SM+ohPpiQVIvJp4AiY5Sfr8DOt37P6gXcVuXD +c+ePGZb9hv2bjBzOdtbHfoJ7/knjH1BXF+WbBhBRxOpM8j+hYc8EdJlFk91k/eR2q0F dvBp6uVNhou2x94s70dOq9qFUB1ttxTMCTUcjo75jrQHUVK+ChZQdDq0GpTfZeoDnLHN OmJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=A7dpWGIpNXwTHYgdab1KPG6Ckuzipn63+FgU1Ylehws=; b=AXvP5U9u8MrZHKaO9+kc+w+3P9uIh8NyI2DtGeccCSRpv9JIhh/7jm2vwY0NudkgTq dGZGH+FxFViPTlYRBMEqrVi/UvbbSHat/XnxbkC3TpNwmbSSZ8X/tQrEdUh6oPjzgOLA 5+dV+OfmYXxoU7c3ADZi8eywkYY2ofzxU4FObKI0x+Tkra4Ls5WzqUcOVwc8WxJjaPi9 i5bSyH0RVzC78dlyKyt/NuFbhyHZza/gySbG0qt1E2qc9erk/Ro48DjAIeZNwIMQfmYX 95W+QQ+q0mBUHC30s2bbCtFcKcbqWcAbr32uqKd4BEyGqrHBWtCUlt+0GJlSvD2KRIyH /1tQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj7si2850777edb.378.2021.02.26.01.56.58; Fri, 26 Feb 2021 01:57:20 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbhBZJ41 (ORCPT + 99 others); Fri, 26 Feb 2021 04:56:27 -0500 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:58513 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230419AbhBZJyX (ORCPT ); Fri, 26 Feb 2021 04:54:23 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R771e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0UPdKI.Y_1614333215; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UPdKI.Y_1614333215) by smtp.aliyun-inc.com(127.0.0.1); Fri, 26 Feb 2021 17:53:40 +0800 From: Jiapeng Chong To: bskeggs@redhat.com Cc: airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] drm/nouveau/mc: make tu102_mc_intr_unarm static Date: Fri, 26 Feb 2021 17:53:32 +0800 Message-Id: <1614333212-18299-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:50:1: warning: symbol 'tu102_mc_intr_unarm' was not declared. Should it be static? Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c index 58db83e..d5840e7 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c @@ -46,7 +46,7 @@ struct tu102_mc { nvkm_wr32(device, 0xb81610, 0x6); } -void +static void tu102_mc_intr_unarm(struct nvkm_mc *base) { struct tu102_mc *mc = tu102_mc(base); -- 1.8.3.1