Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4802807rwb; Tue, 20 Sep 2022 21:27:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7GdaUqskgyFV4zhCCxCCZSVVjlF/lXny00UQjaQsm2hP39tm5tByspc9CIeDkwhUP+IzPy X-Received: by 2002:a17:907:1c04:b0:780:3341:b9e with SMTP id nc4-20020a1709071c0400b0078033410b9emr19988126ejc.672.1663734479467; Tue, 20 Sep 2022 21:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663734479; cv=none; d=google.com; s=arc-20160816; b=H8zr1jf3accimYyBuu9Ow13uZCluZk7ZYm93hwR9zrkyczRggrUPcqMboq6TsZFQFl vaQd2T8okw+t780O7MI+wrW9pRqoZMWASa3ziKp6PmuwEGl8HcIW4YCX9eQXdTivsyow Wls/vSw6o3h9XBZ25yONSRIGz9X+tOT5Vm3wwstXqYLEo37epEeRAKOFZHsAULzk3LI2 5zaA/JkK84bzs2fqUcfqbF1hNzXpYxzbiSWquKTAwQjbw0iQak8wkvS6w3sQ2FXNqU8V 9Pjj8D4JNqkr1xp6EBOZJiwIlIszfk3fDtlvngTuO5aS4eoJyMh4lXQgjI7je3pX++Yx JkXQ== 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:to:from; bh=kTYviNtS6/BNplpV0W0NvaK+0k+1xjzMlFWJ0soh4pA=; b=Irf0LmRjw/I9/FOS8U5lXuZPwSvwgf5PvU+y8yvBLbnf02urtfr/Gd957G4PUEzPpK evsa6Rwet3a9FxmTJCLV09z93fpOOxLbzYjbnVqkePhv0T0CJc12O2fcC+StFWg/1l3U yyJWh/pNVZdJNNsOJHkUqIICp0nFU7UNvDDzXYJdTqOOoMoB0qlr8Kn3NKfvFc7BsXRc xTf31R9c6w6DrQ62QeFJv/gRP+UYH1rtDJQdCdwTuZXQXKtS5PmqfoZHzzVfylzHJ8n9 IHUCkIpntk6S+GEG4bV9TrhHlHRQrmmKPttCr7Jb81IWv8VjkTY+nDO9hHaQ9Au2aVS3 PWgQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a508dcd000000b0045460be0b11si1391209edh.233.2022.09.20.21.27.29; Tue, 20 Sep 2022 21:27:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230126AbiIUEHy (ORCPT + 99 others); Wed, 21 Sep 2022 00:07:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbiIUEHx (ORCPT ); Wed, 21 Sep 2022 00:07:53 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C36BF7B7AC for ; Tue, 20 Sep 2022 21:07:51 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 28L3ktid031000; Wed, 21 Sep 2022 11:46:55 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from JammyHuang-PC.aspeed.com (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Sep 2022 12:07:44 +0800 From: Jammy Huang To: , , , , , , , , , Subject: [PATCH] drm/hisilicon/kirin: Fix typo in kirin_drm_drv.c Date: Wed, 21 Sep 2022 12:08:01 +0800 Message-ID: <20220921040801.13537-1-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 28L3ktid031000 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 'config_max_height' should be used for 'max_height'. Signed-off-by: Jammy Huang --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c index 2af51df6dca7..b23ad03157e1 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c @@ -165,7 +165,7 @@ static int kirin_drm_kms_init(struct drm_device *dev, dev->mode_config.min_width = 0; dev->mode_config.min_height = 0; dev->mode_config.max_width = driver_data->config_max_width; - dev->mode_config.max_height = driver_data->config_max_width; + dev->mode_config.max_height = driver_data->config_max_height; dev->mode_config.funcs = driver_data->mode_config_funcs; /* display controller init */ -- 2.25.1