Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp265261rwi; Wed, 26 Oct 2022 00:07:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7KX0hwoMm5l5BduMWD+Q1h6n0p2nNcavJcK3ZGgeF1EyLXDSMR7CBAF745iP+BGdLWGLjD X-Received: by 2002:a17:907:2cf0:b0:7aa:21b1:9b4f with SMTP id hz16-20020a1709072cf000b007aa21b19b4fmr10867580ejc.752.1666768069569; Wed, 26 Oct 2022 00:07:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666768069; cv=none; d=google.com; s=arc-20160816; b=xzjJQREW7Gpx99YbfDWj488C7mfqynqSX0ApeR0NgFZpzIn5d4vVPZ6egAUjLIfUDM C7ngJlKhTPp2LtuGBg3Ra4sNIO8uuPBgJ8XBbPbwWA7uCsh6IuhnxxQeRl3xZkpEJse0 HgoJFciLEkP6IuC+MMYqfU/eYmGClx3jGFNKyMI20Xdi4nT3vtBqYETEJ3Dp57tw8DU8 5vb98ZUyvljHfK9cwBj/ZhpaPpuslnR3crgMaTS7TgrdSFIrY6n8BvbwER0HWJGI8R34 acKtjQFaHuBdnkeSIWBGtbhhLl18KbKaHeUSkGmbDJPZRia5XZqJGLfsl4ZAUnJYaJ0D sAlg== 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=4i1JVarGV0FWLMm6kiembRxDSXU+yqtS2twGFjRNj9I=; b=Vc+HauW30X+32SkBcvCexin5r77sYYjhrSPWADDsfRrQyoz3xY8Xl1g8BVZHZe5g0s mpB4copXVYfoZGLrqlH1InXlOAJklrZz0YwqRTLZmXwl8/CYJHdZriLK8SHdCqX2q240 FeySvGyW/GQmXxQhu3X8kpHnIRZk0CfNz5yFz7Lpt/7f5bGS3IWbW7OJtl7rj2/0/Awo 9WFqlO5IfL5Ui3c1mIFQeoD7LMNfzyPyZXc98b3OxXGOtUpTRhWXO1Q/8ENmTIvRmEJ4 xTo68ly6fSYEl/suynjQObbgOdcCIC0q6D536giUhNU8IZ3FlVV/NR1xJR0N8eJHVxqB WDfQ== 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 qq17-20020a17090720d100b007879bc7eacfsi4344028ejb.93.2022.10.26.00.07.24; Wed, 26 Oct 2022 00:07:49 -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 S233127AbiJZHBs (ORCPT + 99 others); Wed, 26 Oct 2022 03:01:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233040AbiJZHBp (ORCPT ); Wed, 26 Oct 2022 03:01:45 -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 DA1BE33850 for ; Wed, 26 Oct 2022 00:01:38 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VT6KDB4_1666767690; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VT6KDB4_1666767690) by smtp.aliyun-inc.com; Wed, 26 Oct 2022 15:01:35 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, 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/2] drm/amd/display: make wake_up_aux_channel static Date: Wed, 26 Oct 2022 15:01:09 +0800 Message-Id: <20221026070110.35364-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 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, UNPARSEABLE_RELAY,URIBL_BLOCKED,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 dc_link_dp.c, so marks it static. drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:5230:16: warning: no previous prototype for function 'wake_up_aux_channel'. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2581 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 420119efcf5f..e5ab751a5ca1 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -5227,7 +5227,7 @@ static void retrieve_cable_id(struct dc_link *link) &link->dpcd_caps.cable_id, &usbc_cable_id); } -enum dc_status wake_up_aux_channel(struct dc_link *link) +static enum dc_status wake_up_aux_channel(struct dc_link *link) { enum dc_status status = DC_ERROR_UNEXPECTED; uint32_t aux_channel_retry_cnt = 0; -- 2.20.1.7.g153144c