Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1869370rwb; Fri, 11 Nov 2022 01:22:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf4vACZdvw/7dEcRYBsOsA7YHIMVve7mzJNfj1xRkjwJudPrQIlnjC90SMkRhCz+TtjDQmsy X-Received: by 2002:a50:fc8e:0:b0:461:bcf0:86dc with SMTP id f14-20020a50fc8e000000b00461bcf086dcmr690237edq.368.1668158536250; Fri, 11 Nov 2022 01:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668158536; cv=none; d=google.com; s=arc-20160816; b=jpBMfEHaenFIQxf1oT85Ge5IDgg/unLDxTr3CrF+dBxlYhk37Vss9soeSt2tWW5Km7 nfJnzrEhhx/PQNi5Wdtj16VTIoM1w4CzGjtUEUiEOUH91DzUEzyiSZCEdH706i2+9kzJ D8vcp7JGLt7AX3oqhd1C1HtabqYGpbp5RFdxFmONaydw8kYgrL4rcE5FHC2jdiUTez8J HdaKl/AObNUwuJniV7QwFoCMiew444qZI6ro/p+YmU3TanAjmnWFXpRSV1PdaXzr02AT ufi38fA5RgktjZlmGyGzg1v1TmS5pLsQj39/mbsvubD6Ghb7apjowRah/2+yZ8KoLJNp ou0g== 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 :message-id:date:subject:cc:to:from; bh=+FKj2nmbqZucJdLGxiU64QUYrsrtoPKHGnUJ2zE+imY=; b=Ad+PLMv2P2dj/zrViTn8BhtLnWAF5MnYOw+V+E1JGf4c1pXyWk6TlhrwNyWJ+5DzWC JMgpSqmx8vm6D7S+59GgzkJHlolCZ9PSEsq1RRJi6tLIUsAMGD0wQ80aDowtrNpzVBgj dsZTA43ZNGR49yFSvZDn7v4pB5a+Mmkj5aT4EEGvkMwuvU2twkngb8x4rnCgQpM2Xv/9 2iOxTKxAjmIJ5bwArQ5g9kG3Hcc1jrMYn6Go5qoOjsLZUERVRMRLpleMMzsWaRTGtW06 VKgTPOwsy6tTFtuy6R/cQi7qTyPWPDuf7Hw/YEDDGwG8p3lS9NdmDhFMvODF3uWHRX1y UH3A== 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 o15-20020aa7d3cf000000b0046189831142si1730777edr.7.2022.11.11.01.21.53; Fri, 11 Nov 2022 01:22:16 -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 S233023AbiKKJLn (ORCPT + 92 others); Fri, 11 Nov 2022 04:11:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232609AbiKKJLm (ORCPT ); Fri, 11 Nov 2022 04:11:42 -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 E9EEF64FE for ; Fri, 11 Nov 2022 01:11:40 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VUWtIsz_1668157892; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VUWtIsz_1668157892) by smtp.aliyun-inc.com; Fri, 11 Nov 2022 17:11:38 +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 1/5] drm/nouveau/nvfw/acr: make wpr_generic_header_dump() static Date: Fri, 11 Nov 2022 17:11:26 +0800 Message-Id: <20221111091130.57178-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c 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 acr.c, so marks it static. drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for ‘wpr_generic_header_dump’. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3023 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c b/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c index 83a9c48bc58c..7ac90c495737 100644 --- a/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c +++ b/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c @@ -45,7 +45,7 @@ wpr_header_v1_dump(struct nvkm_subdev *subdev, const struct wpr_header_v1 *hdr) nvkm_debug(subdev, "\tstatus : %d\n", hdr->status); } -void +static void wpr_generic_header_dump(struct nvkm_subdev *subdev, const struct wpr_generic_header *hdr) { nvkm_debug(subdev, "wprGenericHeader\n"); -- 2.20.1.7.g153144c