Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp686772rdg; Thu, 12 Oct 2023 19:19:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdM1x8ocM81AQ2zeQyTdsGh8zj+4hfJqAxoA8mGSXoySd3e78rEYC6N1g2aPVgWOzuu2O0 X-Received: by 2002:a05:6a00:1390:b0:693:3d55:2ba6 with SMTP id t16-20020a056a00139000b006933d552ba6mr32231763pfg.9.1697163565228; Thu, 12 Oct 2023 19:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697163565; cv=none; d=google.com; s=arc-20160816; b=HM2PRcu2RXVIgxzfjSqvtMblvC903DTKV2NTOrLMk2srf88Vtn4LSrkxtaczUr/GVe k5lazH8KYBURXNiBymbiBevppyBP2B9VoHVMSXa96QXbS0TpZSd4bFPfVb8SOy7B60+O oD6dXm8coIoUwfLiJR1a05ADcaaOzqgYyRny5mbBKRqE6kS1/TJlnE2X9mUbW9D2JJm+ qIuEwvimFtrcHJGEImV16dMjLAhSJdtBWEh7czHhvMmwPb86oT7KNvj9V0ygDCdW/W2U wPI1mzVkj1SEtm66BVOs1pC+ezPgTTciRwvu/OcGUcMMWexlf5o+de341GOtVoyLYxHt rkdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=7qzrIGoaF9/UsYW0jz6672y05QIT3bjCIF6z0hNYytw=; fh=N6MoaU1t3I+0dd6k4lO/DtysdF9r462phl6LQ9Hz43s=; b=ujESBFmEw+Ejy8Gs78yTQSgBic4zZzjogURI9dGLREOgPpjZFZDJraqL3qT2+OZwaS yBaxJ/EDBElWv4rpuH9VnlNHjTz2ydKePwNNL49MIAQuWpx37k6D3QOi8/2duGPAogTz XtYnsva9pdNxF3M5TwxrQtCwl5rojLQkCDO30SBEothn15888U0QeXll6/uxVJliHhtM PnHbrurEZnWQTNRszoHwwJAqX2CQduZaw5Vh769BAUneclLN9nEgylxrekSdDjtGlf0v C/25Qb221Jk5f9oTF0VIfPr4Ft6KInPnOfN6A8RsoXi0tb+6qddYx2eTEhYrPEL2CXAY zZkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bi30-20020a056a00311e00b006b1fc88d095si640260pfb.71.2023.10.12.19.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 19:19:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 28CC481355DC; Thu, 12 Oct 2023 19:19:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229495AbjJMCTS (ORCPT + 99 others); Thu, 12 Oct 2023 22:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjJMCTR (ORCPT ); Thu, 12 Oct 2023 22:19:17 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 350DE95 for ; Thu, 12 Oct 2023 19:19:13 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 10:17:29 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 10:17:29 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd/display: Clean up errors in dcn_calc_auto.c X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <100592b2.93d.18b26d31479.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDXaD65qChlD9fBAA--.620W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQADEWUnvzMAEAACsP X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 19:19:23 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG9ydGVkIGJ5IGNoZWNrcG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