Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7517838rwn; Tue, 13 Sep 2022 23:15:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KVbaDEMsXVZkG2fAu6JqGLXzXLlx3GEyQYTTipmsG9bbjptPVuuN9gscKhfiaymHKn0ma X-Received: by 2002:a17:90a:8688:b0:202:91d7:6a53 with SMTP id p8-20020a17090a868800b0020291d76a53mr3098953pjn.153.1663136115271; Tue, 13 Sep 2022 23:15:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663136115; cv=none; d=google.com; s=arc-20160816; b=cfvuzxdXzPUA0MG/qqAqirZsILbNmkwVDSosFmxLfJL1GjOUeojlkRcLmjVzaG5MYP KsX+I3qv9oNdFpGnauNFc2fneGgjItCjzhpMxBcALUat4OUhWCN8poNikzIi9XZmAAt1 Abi1XGpGi5DHVOJty/DN0QKi48Y2nqExOGSSsR5QP+dbb96o618pvKK5fEw+XTb2T0H6 W4hi5x75++CQ5+lSmsSQVJWeT7ulDw+vTztGe50P/TvkXlp1SWmsM/qe5iIrocF5F4Uz SA0FyLbuXk72mofN7xU07NEVltAwT5tX+sEKYfRAb+HP3rMfRBnVKnMjEUFFoxPXymki 6Y+g== 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=HOAMngWL7wH/FmAaFyCeOo706Cp7dwxj/1wXGIQUWYo=; b=zIl98SGzdSB5Lgfpp7Uaea+LOHZBl6zB/uxqweik5u6P3/wzkziRWUv7zVyUCPXMuB gk4ELb/ZC1ngHM6LzNlIBZxXDXlqU0VlSzjinHImpJjsvy09uGMlRiVFn4EftPTMxqCt 30hbtCgNsFSHHYi/RTCQcwre4iCqXpT8Y6Jkh4bD1qNc08gvZ3N03RnaxRAtoLMcQx+n WWtz/KZnD1vw3F5QTFJMtivpQW4DXnvsFe8/CjDHgNblClJ3AT0RSnIIbpXYXdwvnfrX 0/16tlpcSQNqmHMuMlk9eQ3ja9vb5G7AGVieum0lecrka9POJYk8jdJWWMXQ6qg5DRMG ic7Q== 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 u68-20020a626047000000b0053e9fbac2a8si12292799pfb.102.2022.09.13.23.15.03; Tue, 13 Sep 2022 23:15:15 -0700 (PDT) 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 S229786AbiINF2E (ORCPT + 99 others); Wed, 14 Sep 2022 01:28:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229771AbiINF2C (ORCPT ); Wed, 14 Sep 2022 01:28:02 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0359E6B8DA for ; Tue, 13 Sep 2022 22:27:59 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VPlhac9_1663133273; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VPlhac9_1663133273) by smtp.aliyun-inc.com; Wed, 14 Sep 2022 13:27:56 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 2/8] drm/amd/display: make enc314_stream_encoder_dvi_set_stream_attribute static Date: Wed, 14 Sep 2022 13:27:36 +0800 Message-Id: <20220914052742.116297-2-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220914052742.116297-1-jiapeng.chong@linux.alibaba.com> References: <20220914052742.116297-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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,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 dcn314_dio_stream_encoder.c, so marks it static. drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dio_stream_encoder.c:84:6: warning: no previous prototype for ‘enc314_stream_encoder_dvi_set_stream_attribute’. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2146 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- .../gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c index e3351ddc566c..44e585c73785 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c @@ -81,7 +81,7 @@ static void enc314_dp_set_odm_combine( } /* setup stream encoder in dvi mode */ -void enc314_stream_encoder_dvi_set_stream_attribute( +static void enc314_stream_encoder_dvi_set_stream_attribute( struct stream_encoder *enc, struct dc_crtc_timing *crtc_timing, bool is_dual_link) -- 2.20.1.7.g153144c