Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1089933pxb; Fri, 26 Feb 2021 02:11:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5c6xK/t4X+0e+YI9G63dJRSb3DGVeSr4p6iVYxZZzTPTqbfW5a9F27zW4bWEyJk8wtgxw X-Received: by 2002:a17:906:2652:: with SMTP id i18mr2466549ejc.213.1614334299790; Fri, 26 Feb 2021 02:11:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614334299; cv=none; d=google.com; s=arc-20160816; b=Ydkbg9EjVMAd2rFUTnrh0qCvuqNxfH7Z0i49T6ozuwpLQu2bfErXxIXwqF/AFk85F3 JHUvzVxxFmekQuoh1b2QMQSVUX5P085pmY0I+XJKjNX4J3ShHfR94XWYt/SR5zk2QkQw RVAvhMonNl/rP1e3a4Xy3z+hlPaTs7lJDYdUp8naHwTW7zFTMKQJImrVtXWHJqJpPiPz l36LWZ9YfWd4O52iZdXEcbyVTnn7e/oMh/9x3t9wpEZTyop+ywQv48xZO7/JrkmPK6Pa l1AabkyPOGkLXF3OpOR/uUJ+F5cnGyegjyqp+ydn8/NNSRHfaD0MMV/Ve0htgwg8XjcJ QBig== 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=DJ6DYp13aqsQ7iw6XDp75HHguO3sbj+q0+x5hFuI8fQ=; b=twsJWk5ctgNFCk4+J59KwWPgjhGREJ9qh439Lo245Z+4LZBCKgiw1arFvr8UJZFRXz t9VDvakAneNZZceaIvXMiKjuMNt8oiFvBP1G0f9bQtWbFA5/69JhDBFDGZ7ssvQuaXOk DsXRIWM0CAWNCt2zsKgC1CZc0kd1TywAqd4BbzGrxIVno9CVDFAzXmt6R6qpduN8DfoW 0OAF9Tu7qUg/uvXcx/GvBJvvynpfE+tQgxBShQ5nD1X4EPNr4FVM+mm+hYo5qA6TM5dv 5IdGvbTnrPy4x+WjutCbKzVhgdQOPB5p5TAxIdGOppKryqHI6sI/EZW4OFx8BeGc9eEG 4ufg== 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 r21si5601576ejo.415.2021.02.26.02.11.17; Fri, 26 Feb 2021 02:11:39 -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 S231135AbhBZKK0 (ORCPT + 99 others); Fri, 26 Feb 2021 05:10:26 -0500 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:36655 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230347AbhBZKID (ORCPT ); Fri, 26 Feb 2021 05:08:03 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0UPdKhw-_1614334036; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UPdKhw-_1614334036) by smtp.aliyun-inc.com(127.0.0.1); Fri, 26 Feb 2021 18:07:20 +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/fifo: make tu102_fifo_runlist static Date: Fri, 26 Feb 2021 18:07:15 +0800 Message-Id: <1614334035-33886-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/engine/fifo/tu102.c:53:1: warning: symbol 'tu102_fifo_runlist' was not declared. Should it be static? Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c index e417044..260b197 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c @@ -49,7 +49,7 @@ /*XXX: how to wait? can you even wait? */ } -const struct gk104_fifo_runlist_func +static const struct gk104_fifo_runlist_func tu102_fifo_runlist = { .size = 16, .cgrp = gv100_fifo_runlist_cgrp, -- 1.8.3.1