Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2798220rwb; Fri, 11 Nov 2022 15:13:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6FzfqWeUCawnBwGyIrlqLPokm9jV7lkH8FWaWFbfmaBJBdbWP1pyTN7dyIefTMpcU13MZx X-Received: by 2002:a17:902:cad5:b0:186:88bd:e656 with SMTP id y21-20020a170902cad500b0018688bde656mr4586256pld.137.1668208426318; Fri, 11 Nov 2022 15:13:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668208426; cv=none; d=google.com; s=arc-20160816; b=Rhnlpf7Qnx274HwRsqJFDiXp3HNnXPQikqPy+JTypv/AAXhchhAPpHOSiRPzREDGKf z9sIaejGx41obQU+iD6uDCW42dsWNVR6Y2P2oZTM7ZO62aZE/v113ovZlca/11pQHCFB xP8tLSLS4i5PYErGlh9UF4md3w6GUmeDhHMgBphJqRtAAoK12DvrQ+OMTJ8ojixPqyGT PZUPyf/AnlwajSaZcVN34VPL7u4lcn2jaR6ewMY8CDoVHHGz+YWd2fkKIVxtPkHwTfmk rdmFyqNmwAIHPsK93tu2ZNDkpP/fPWrG082t6NqiLxud6mlksZV4iZ2CzXCvnQxugufZ 5myg== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=HfoD+yTsgDgyy3DKNtedBkMBeaq/mYuNaScJkhXJDcQ=; b=PgONRQ4hr6YgCXMNBbsbJlniwnMoNHUqNRSyTO1+3tIFS/2Hb9uDjlLpXfOkMPp/L1 yugeKXnqVUsOAuJKdYu8OpyQ1JF9HmvAZDk8Iy1P3GXbYeNv3fQYowIBlfe3Do89VpS0 j8iNWpD6GbvhV+4+fyHn4ZhvPig3ZU/N8kLck0p4kZwLZNY8kAtwoO9u0sCJlY53AtZI BjPMaLlzSsYeRmS2hUoFUJ+wFLL018NRtyojhlIURcUa5aPwLuec78MjYylXK6MSiBFZ 4rZI5/UJRTpMyE+H8uY3uYfS/KjKyXrVC7xKaRK4rm+HKo3iXJ3S28q0H7mCivJdodbu Bgvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WfRGDPb6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ch14-20020a056a00288e00b0056c747dac83si3294628pfb.62.2022.11.11.15.13.34; Fri, 11 Nov 2022 15:13:46 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WfRGDPb6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234302AbiKKWrG (ORCPT + 90 others); Fri, 11 Nov 2022 17:47:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233593AbiKKWqu (ORCPT ); Fri, 11 Nov 2022 17:46:50 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CE4040922 for ; Fri, 11 Nov 2022 14:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668206756; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HfoD+yTsgDgyy3DKNtedBkMBeaq/mYuNaScJkhXJDcQ=; b=WfRGDPb65rye87R4KPsiuquAZw87lT2UwqlsNKWG8cZR8V8AsiMga7oXAnApxa+aX+BWag 7SzMLiGrgqI+TCrpRpaIe5u7gPmMFLJzKWp/KAOVjJaEhUvCXzud5R2tI+MLxr1+oDV0vX jvd2675/R8uxVrEmEJmaXlvQYyWcdQ4= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-386-dWxfMPmwPGCzJtplhgF7bg-1; Fri, 11 Nov 2022 17:45:55 -0500 X-MC-Unique: dWxfMPmwPGCzJtplhgF7bg-1 Received: by mail-qk1-f197.google.com with SMTP id v7-20020a05620a0f0700b006faffce43b2so5773488qkl.9 for ; Fri, 11 Nov 2022 14:45:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:organization :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HfoD+yTsgDgyy3DKNtedBkMBeaq/mYuNaScJkhXJDcQ=; b=UWC7cgn21rLchV4RfIw494nurlJQNpsLXmz7rMNFOZexRCVLwPc6JgypGi3NkaM6+X 0Ne8HMyZNXYQlBtnPk3SEteiKrpxK5iw9qZrIFf/DdMCXsT/TIpY4xbdtkh3Yk7MYgJ0 USFqgvQQfMdTt8lbXbAzlnnrXG8yJSTVIL9xJnFu22/JuTmqcLzrbuWJ7ZMbORc1CQeD EHGKNrGevZlM2onqMDTDtZP3yYlySHAdhhbEQterx+f/0RiOvk/DIRCLmZADMljPCtFo EDhqku9rhIha7+9hsTtATHoHPt2mF2EvI3fCsqTKZGLKPLMXA3s1ciJCopozxv2lqEs/ qReA== X-Gm-Message-State: ANoB5plwEnDktgQdSCSaFyQyef0qWmUPcqqp5LlPpMIi2F9X1NQyrUa5 RTb1Z/AM7lWpNN7u/OxWa8IUUASToN/KqAQz3mT46YCZjrWcOZf4WVuhdaL+2wXsqb9ecmdIgSO O9m/AKSwxJYMJZg3Q81khksD4 X-Received: by 2002:a37:6887:0:b0:6cd:fd44:d83e with SMTP id d129-20020a376887000000b006cdfd44d83emr2973922qkc.594.1668206755001; Fri, 11 Nov 2022 14:45:55 -0800 (PST) X-Received: by 2002:a37:6887:0:b0:6cd:fd44:d83e with SMTP id d129-20020a376887000000b006cdfd44d83emr2973910qkc.594.1668206754748; Fri, 11 Nov 2022 14:45:54 -0800 (PST) Received: from ?IPv6:2600:4040:5c6c:9200::feb? ([2600:4040:5c6c:9200::feb]) by smtp.gmail.com with ESMTPSA id f2-20020ac87f02000000b003a4c3c4d2d4sm1948861qtk.49.2022.11.11.14.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 14:45:53 -0800 (PST) Message-ID: <023708836f1af8302c813e8308c7d406e6fd2310.camel@redhat.com> Subject: Re: [PATCH 1/5] drm/nouveau/nvfw/acr: make wpr_generic_header_dump() static From: Lyude Paul To: Jiapeng Chong , bskeggs@redhat.com Cc: kherbst@redhat.com, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, Abaci Robot Date: Fri, 11 Nov 2022 17:45:52 -0500 In-Reply-To: <20221111091130.57178-1-jiapeng.chong@linux.alibaba.com> References: <20221111091130.57178-1-jiapeng.chong@linux.alibaba.com> Organization: Red Hat Inc. Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Actually hm, I think ben will need to consider pulling these into his branch since these don't seem to apply to drm-misc-next - so presumably they're related to some of the work that's been getting pushed recently for GSP prep On Fri, 2022-11-11 at 17:11 +0800, Jiapeng Chong wrote: > 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"); -- Cheers, Lyude Paul (she/her) Software Engineer at Red Hat