Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2775816rwb; Fri, 11 Nov 2022 14:48:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf61jxEN6Q+s74TbTFPT/Ox9KRy6UyEwQLRUFOYOUZGj5pDy9KEIfI6J680aKzgqD+oDlSUK X-Received: by 2002:a17:90b:394d:b0:213:caaf:411 with SMTP id oe13-20020a17090b394d00b00213caaf0411mr4227132pjb.74.1668206899250; Fri, 11 Nov 2022 14:48:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668206899; cv=none; d=google.com; s=arc-20160816; b=AwCShzPAIKlWF7zy3pFafQW5dl5iWYVZ9lsvlewVurNqKS06XHfa166MyHAFSQI7ZX JI83ZZBeGqf3RhIrzN9P8kK02MeHvRFyvEJ8fp5Ctk+nwwKU6BJSIvLOhgN4vOxk/znZ ERB14ImrF+aENIiwu8GOTpDgaaFM7IxHCMvvyfbvmbSl2Ve77gVA6itJvVfg+bxMmR09 GYt7CL0sxtcsVA9cY2rYiJkWeRbGg6OGdlnrUEZVeAUq0JhVNVyjfs8AHGs3HJTC0Mwn GhZb4vKLiPs3HSgjBB3a7/dK+QPsJhGmPk7/Rmf5OlSCtmj0S0dswd5i8uaRTE0AvESc iTTA== 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=FhguikNfjP3jJj2Xsd2EMwn1nCtYD4FWU8eudH5AFMc=; b=FZ18+TonrrVOk1+I172qZl8oU6nmgJLFDo8oWDgY+0m5hM/KcB4JC8YRy/TOEQyIqU zT7p/sJ3H2ZESZzjwUJxEtqljSfffjL0aHVQvq7r0HyDGEpFnlbXXOV7Y+IZB1hCHN/+ Pi75gqOO2fsWgmKy3qfyH5753n8ZOjFmkltbuKfneUZZxbB/c6gQaNxBJ8e7UJaoawxS /+JdxtC0qHNNpzc4GLMba488QzqczsaQd0jVXafcWNiEMO/AuhWJddJHi5pPRGZ3z4XN QF4XQvuHVQzC69Qx9umrK+UgtsWR6dC3YMkYvLiHWRMpuOGM/FIP5gTu/QenEm02zFdS suTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MA25sQIW; 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 il18-20020a17090b165200b0020a7e0138d2si4454387pjb.50.2022.11.11.14.48.07; Fri, 11 Nov 2022 14:48:19 -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=MA25sQIW; 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 S234646AbiKKWhE (ORCPT + 90 others); Fri, 11 Nov 2022 17:37:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234669AbiKKWgz (ORCPT ); Fri, 11 Nov 2022 17:36:55 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 578445F87A for ; Fri, 11 Nov 2022 14:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668206156; 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=FhguikNfjP3jJj2Xsd2EMwn1nCtYD4FWU8eudH5AFMc=; b=MA25sQIWc0ddhfcddwraC+TGkTSaolZURMyA95vQifXHSXfSnErndfi5RZvFnMsea6JBOt KnJQrNSSVS1D5A/I36dag2YGU/DU5ZZeJ0lv9P65K+QpkR861crckkqzW85+bmxe3Hfzsr LxmcnKxy8mv7vPkDpb0gteQR3CpU1+w= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-567-DlUr5vCEMHGTy4JuKEkUDA-1; Fri, 11 Nov 2022 17:35:55 -0500 X-MC-Unique: DlUr5vCEMHGTy4JuKEkUDA-1 Received: by mail-qt1-f197.google.com with SMTP id b20-20020ac844d4000000b003a542f9de3dso4488431qto.7 for ; Fri, 11 Nov 2022 14:35: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=FhguikNfjP3jJj2Xsd2EMwn1nCtYD4FWU8eudH5AFMc=; b=VGSel38x+6cXMlylnn4At+bPkqWbGxQgmC/K/2MkEnx12oIR+46S9aZokzN+EzOaup c8lfp6HbYME2iwf4JXSTMm9D+EwYiQQEg6UWXhn3CQqf5VGxakNBKtmZZ6fmhtFeJM0S LZenevBSnm4TIundOdXcXRKCkyrNIol4s2HgIraqfcuRS0qpacxQ//srNlC/zFqSSZW+ xtPf6VbVAWUpSKgyiYqNy18LEXVn4XxWplUsoRpvM7wszhi/vyt8fXWXrDemVE1iB4Jk T/UAF0s8eCjn4/7b0QqjSdVSzZ3CMr5oAcyCiitLgaPAbJcAP9BsVxkvepmS6w+ufK7N m1vA== X-Gm-Message-State: ANoB5pknKM4OdcdnfzXasdIy0mZ2gFTeF6bkxsk+Aj1GvtKTyh1SAIFz KiwP4vPZWItORS+6MAoddGutfwHtoqvqw7KfUnKijkAtOT2IRdVX7pDcf7nGI+Aq/c/uTe6cGQ1 hYLq9slgk1Q2c9lWMOzycV30O X-Received: by 2002:a05:620a:6c6:b0:6fa:3aa2:3269 with SMTP id 6-20020a05620a06c600b006fa3aa23269mr3031013qky.580.1668206154909; Fri, 11 Nov 2022 14:35:54 -0800 (PST) X-Received: by 2002:a05:620a:6c6:b0:6fa:3aa2:3269 with SMTP id 6-20020a05620a06c600b006fa3aa23269mr3031002qky.580.1668206154708; Fri, 11 Nov 2022 14:35:54 -0800 (PST) Received: from ?IPv6:2600:4040:5c6c:9200::feb? ([2600:4040:5c6c:9200::feb]) by smtp.gmail.com with ESMTPSA id q7-20020a05620a0d8700b006fafaac72a6sm2203033qkl.84.2022.11.11.14.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 14:35:53 -0800 (PST) Message-ID: 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:35: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 For the whole series: Reviewed-by: Lyude Paul Will push to drm-misc-next in a bit 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