Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6290024rwn; Tue, 13 Sep 2022 01:47:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Is4EOMg5Xc5w0aB4Mji/jx3gmMRe0INqxelwPoHdIwGUNHB+5AJ0cWNjIgGbwetKBTWd7 X-Received: by 2002:a17:907:1ca9:b0:77c:99cc:2d84 with SMTP id nb41-20020a1709071ca900b0077c99cc2d84mr7299293ejc.308.1663058873321; Tue, 13 Sep 2022 01:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663058873; cv=none; d=google.com; s=arc-20160816; b=hNOBQktHfdVjSzzO3ZZFX3Eu7GvhnaxiFpB/B3oiZuXo2e82SmXzxsFTL0mQj5S3Se 1WuE4iEcx6TP9UVm4YSuSg6skpBUm4QMaj4hQRTG9Ug40aOx/w8QLojaH+rWdGrviS3t aRu6L1q1dokpU9lCsPG6vjt7KJw75fTNFBKC2weesGJ0Pj8rvurwL0aYRERKMV333Yg2 C65xzAADzCL71F4mls+Ea7mrbXXLhZtWXjfT/nXOVOrRoM9uBPXvtT8vrfVUzsbe0xrZ zryyKasPW5B+yQuaRMdOtyDfO2LKq+GG++xbmJov/+nTCkUWvuHVT3BSNZtJEaK86UCl Uixw== 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=6LRYgZAAKUBQ5hG77yW7FH1ORxyKlnT9E0WOtug/geE=; b=hyMOq9p67ZELCnbIZX2KIwv5CnP9ufoR3/nEAjchYD1EF90PD0gsqfqa/LgfxSR6s9 ofbm/TFo7nWvJUyJkJ7IyrQ7iJTyRqLtclS9QnkFvsHtRY8AhVRK8pxh4Tfz3e0VJF02 q7d6szTyyTMFLiwn42+Vv0y9j6zpBOmOwiwHKXcBB3+DFC6gSr3yZEkXU2TdWQabGGS3 mNwHv/i2ShjlFgJMLsD53GyGk0ECO/+7oJinuul4Tfir9GuBCbxr0pVhWKJEk9q44UWr bWJoZx5ZSm8YSyYvu2Fb9As1ORiZqv177vytAyDbqzS/YJji061l1+2iadqYd4D6ViE4 0Fow== 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 ho13-20020a1709070e8d00b0077e0b319f33si4172830ejc.209.2022.09.13.01.47.27; Tue, 13 Sep 2022 01:47:53 -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 S230350AbiIMIi2 (ORCPT + 99 others); Tue, 13 Sep 2022 04:38:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbiIMIi0 (ORCPT ); Tue, 13 Sep 2022 04:38:26 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C1ED422CD for ; Tue, 13 Sep 2022 01:38:24 -0700 (PDT) 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_---0VPem1f0_1663058299; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VPem1f0_1663058299) by smtp.aliyun-inc.com; Tue, 13 Sep 2022 16:38:21 +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 1/5] drm/amd/display: make enc32_stream_encoder_dvi_set_stream_attribute static Date: Tue, 13 Sep 2022 16:38:01 +0800 Message-Id: <20220913083805.22549-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,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 dcn32_dio_stream_encoder.c, so marks it static. drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dio_stream_encoder.c:63:6: warning: no previous prototype for ‘enc32_stream_encoder_dvi_set_stream_attribute’. Link:https://bugzilla.openanolis.cn/show_bug.cgi?id=2119 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c index 38a48983f663..0e9dce414641 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c @@ -60,7 +60,7 @@ static void enc32_dp_set_odm_combine( } /* setup stream encoder in dvi mode */ -void enc32_stream_encoder_dvi_set_stream_attribute( +static void enc32_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