Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1917956rwb; Fri, 11 Nov 2022 02:17:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf73JZOYdG7D5E5lb4guzZ52CANJ14IwsZJdFlqJjTjxmWU3vluj5ezKIK/9Y4X+OFHEPOyA X-Received: by 2002:aa7:de82:0:b0:45c:a651:87f1 with SMTP id j2-20020aa7de82000000b0045ca65187f1mr822770edv.359.1668161858327; Fri, 11 Nov 2022 02:17:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668161858; cv=none; d=google.com; s=arc-20160816; b=j2nFnOytLiDhacudrs7dz/L8O3apHoC8F7TWFw/RcnLru697lbCNijsTfWZY51i328 CB2cVNVau8LbOVyPDZbXmo5aHKrPC0zoqs6XPVWWuUTMeSuvWBgsmXuCUohsgtPDuGaa R9WdplzZ/VDz5YyqGy/zGp/3bk5yfZxY4r+soijHKjUhpXfPsZunxixKcmmJYHqAqy1g SB8J5XvJ9204Jhp4t8Y75RBz8B/gvW8S6TMJAFXYF3kvGFao7NxgbM+MnqZo2DvHyusE fdoTIKKj2tlt/1jsKaVQnEUQfwz+iCSmlacqSUAX9ikI+eaRzIkk8bGL7IC+9sHzn3F0 757A== 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=EHd25KYv05E9bQwHE7KxT0siCrLI28j9DxwIZNn2Ixo=; b=ZvBYiiKTG++uSepwgh20Ava4O5r9FhrCt5AZQnPdBjcfilAt5CO5USPuC943HidnZT OpfWJVNNEV/qXxZ1EL7uM34gu1q5c775XI55hCX9PrnepzAQDEVcj4h2phLYrBv+dXIj Zyx/f/8yVr1vFBLt0L+4NH6pS8yG6kGJvmUY0OFFPkeYD0uaP5RACSBjb9h0xFz8A+aV SkUIt2HQlBRjE0Q96grfRPwMQ1ZpZ1Vn9v4q0V69Z+3YSqYA/noQBTr28VJTzzyP3TH/ iS3EA1z9Zv9M7q/zbHh6NoT0vUoMQ8sAkK8pAyQGnWAKIQSYLrNnRDkl4L6WHYjFf4zJ a6ig== 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 he19-20020a1709073d9300b007ae814af686si1875732ejc.974.2022.11.11.02.17.14; Fri, 11 Nov 2022 02:17:38 -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 S233146AbiKKJMP (ORCPT + 92 others); Fri, 11 Nov 2022 04:12:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233559AbiKKJL5 (ORCPT ); Fri, 11 Nov 2022 04:11:57 -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 A84AF2EF17 for ; Fri, 11 Nov 2022 01:11:56 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R761e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VUWiU1j_1668157910; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VUWiU1j_1668157910) by smtp.aliyun-inc.com; Fri, 11 Nov 2022 17:11:54 +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 4/5] drm/nouveau/fifo/gf100-: make gf100_fifo_nonstall_block() static Date: Fri, 11 Nov 2022 17:11:29 +0800 Message-Id: <20221111091130.57178-4-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 gf100.c, so marks it static. drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c:451:1: warning: no previous prototype for ‘gf100_fifo_nonstall_block’. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3021 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c index 5bb65258c36d..6c94451d0faa 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c @@ -447,7 +447,7 @@ gf100_fifo_nonstall_allow(struct nvkm_event *event, int type, int index) spin_unlock_irqrestore(&fifo->lock, flags); } -void +static void gf100_fifo_nonstall_block(struct nvkm_event *event, int type, int index) { struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), nonstall.event); -- 2.20.1.7.g153144c