Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1889174rwb; Fri, 11 Nov 2022 01:45:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf58ElEMthi8bOyoPVdh9cygzlfkHo5qcVznfs4zDBNV0Xk5jeNcRbnC02NFgcGViJKSY2pe X-Received: by 2002:a17:906:7c0e:b0:7ad:2da5:36e4 with SMTP id t14-20020a1709067c0e00b007ad2da536e4mr1128310ejo.680.1668159949999; Fri, 11 Nov 2022 01:45:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668159949; cv=none; d=google.com; s=arc-20160816; b=SWBRW2OmMVpX+n9KLPTMw+u56LIZHvZM3bnDOsmI8WoBtRwH90IATvkePU3D4S7XLP V/1OKdTtP6vx1Su1gkvWUoYne137e5cAGLMxjeSVO+QFFLdBnjql2S0EK1fThVKnEYrB KAvtHyQihjKrhqJTKhjfzoJl5GVzFuDwUnfB+MQYX3X4qJ5m6DSCUBzVJ7dIdOV9ylzB c8I94VD1tCBmFmjmZnmziSbT7QgHi/jhXjOU8SlUuPLY4WAkOZMUM0N+hpXkb9JG9KQR /eKzxHgOZPT2AG+QE6Yf9uLE0wBN7vqKWbDvfF/T0Y88nuoC3zc1g3JmU6vRzbxOOT8M nwwg== 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; bh=EBsUVheF9NoYfBg1ODwGuSKgeUa9tQT0GjiAYH/YscA=; b=lIezg1HVgAZT8KJixTZ62DwXH+Y8Xc3WlxmDonECCNm/ppNU2OOBe/tb9zY1AVCSY9 Hw5Uqyu/F+K9pUT/b4C09Xmr5Ma+tjEHKx2Q5sZ7Rz4EY8nTnciKyW8YrQywtDPViC2Z V4y1SLyhYSVU3IKShvfA6DaMpBfIhuoU/KeGeyJnIAwf2MunDm1YPNVW2Hfzk9JjdJpY wBhZuL8BJbkY3xnwPWK2K5XmLQ8IZEJGlQXNT8DbqFQC+HZQP2j7Qvr2y/GM5OPRKKnW iGimeSTHczTH1+0nlPPkpXg8mIGo5r+s7fP7nLMfx/M0LPZGAGo+vUY7MGx5KJ45Vqw9 +nuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k9-20020a17090646c900b0078db719e54csi1288136ejs.98.2022.11.11.01.45.27; Fri, 11 Nov 2022 01:45:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233319AbiKKJMg (ORCPT + 92 others); Fri, 11 Nov 2022 04:12:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233520AbiKKJL4 (ORCPT ); Fri, 11 Nov 2022 04:11:56 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6DC92DAB0 for ; Fri, 11 Nov 2022 01:11:52 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R451e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VUWiU.x_1668157905; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VUWiU.x_1668157905) by smtp.aliyun-inc.com; Fri, 11 Nov 2022 17:11:49 +0800 From: Jiapeng Chong To: bskeggs@redhat.com Cc: kherbst@redhat.com, lyude@redhat.com, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 3/5] drm/nouveau/fifo: make nvkm_engn_cgrp_get static Date: Fri, 11 Nov 2022 17:11:28 +0800 Message-Id: <20221111091130.57178-3-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20221111091130.57178-1-jiapeng.chong@linux.alibaba.com> References: <20221111091130.57178-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This symbol is not used outside of runl.c, so marks it static. drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c:34:1: warning: no previous prototype for ‘nvkm_engn_cgrp_get’. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3022 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c index b5836cbc29aa..93d628d7d508 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c @@ -30,7 +30,7 @@ #include #include -struct nvkm_cgrp * +static struct nvkm_cgrp * nvkm_engn_cgrp_get(struct nvkm_engn *engn, unsigned long *pirqflags) { struct nvkm_cgrp *cgrp = NULL; -- 2.20.1.7.g153144c