Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1807276ybg; Sat, 19 Oct 2019 02:56:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgfRSOc130YSb6jYZXMOGtjlB9T8kRkzY4TwQpf8xAzmVrxP1LabxD/MaV8nIAtUo/iQk9 X-Received: by 2002:a17:906:5407:: with SMTP id q7mr13037144ejo.24.1571479002750; Sat, 19 Oct 2019 02:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571479002; cv=none; d=google.com; s=arc-20160816; b=raxZ760131hW3vRZ36t/fUqkHhfmN6/Bt3JW8YEE8OlMggfA5L/BXcU010PCNtmWa7 SMhyeLB6dm4RNnUKBV4suG9VJ4KU7sN+Le6dI96EXXO1aJ7HYuC7U1up8CrK3EvGIsHb MUIvqstmCyHqwlx45d76ibgdIgYm4aRx43kWicyNbZlp47b+y8iF/2fHGmV4tVxS6Zrq zGa2bPWI82j1iUUUisMIZ/s/QJXo8meSy/HB1LZlgUCIz/GDoZw0GK9pPXEjcOkmLaYt dgMlR76aTwzbqLYkqjJcWvyfbRTWB4PDM7PMBU7aLEyRsAM9PE6uzH1nQkDmo0M5as8V gM6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=VD0Y/TC56ClMToFBUUUrxu+rBdU2Xpw8LMnF5Bu/WCM=; b=bs6wjUfyqJdohRvsC9a8rYytIYiX9agSe3YHx+tcTlP09Yr45fORs/fQuci1w6bvr5 X3PwuLt5C2wczugXecA3p0Z0KD+TwveshygZjk/+yj7N1D02Tsiu+HMkFTZE8iq+yzUQ cyAYzGkCvfsH3jIN6T+HJ+C5MtTZPhyR2LZGHTkTS8eaRpRtvHWrZoudeR5VteGhC9vO 1Yq2J+RYPZ6m3X7/Y3SOHxzsUroYco5GZarvWqCUpiYz8qBXONdDc1LVL2ndvV0kanv8 AnfvRjd9eaiTkbe/YQ6VT1jIC57reuCr/1UT41vQtYTB6uf8trTIjQKHvlZ2MFfGxKhx byLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g19si4880004ejw.373.2019.10.19.02.56.19; Sat, 19 Oct 2019 02:56:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727910AbfJSHej (ORCPT + 99 others); Sat, 19 Oct 2019 03:34:39 -0400 Received: from mta-08-4.privateemail.com ([198.54.122.58]:4647 "EHLO MTA-08-4.privateemail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbfJSHeh (ORCPT ); Sat, 19 Oct 2019 03:34:37 -0400 Received: from MTA-08.privateemail.com (localhost [127.0.0.1]) by MTA-08.privateemail.com (Postfix) with ESMTP id 9E6DB60052; Sat, 19 Oct 2019 03:34:37 -0400 (EDT) Received: from wambui.zuku.co.ke (unknown [10.20.151.244]) by MTA-08.privateemail.com (Postfix) with ESMTPA id 0839C60051; Sat, 19 Oct 2019 07:34:33 +0000 (UTC) From: Wambui Karuga To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, alexander.deucher@amd.com, christian.koenig@amd.com, David1.Zhou@amd.com, airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, outreachy-kernel@googlegroups.com Subject: [PATCH] drm/amd/amdgpu: correct length misspelling Date: Sat, 19 Oct 2019 10:34:30 +0300 Message-Id: <20191019073430.22093-1-wambui@karuga.xyz> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct the "_LENTH" mispelling in the AMDGPU_MAX_TIMEOUT_PARAM_LENGTH constant. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index c5b3c0c9193b..aaab37833659 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -86,7 +86,7 @@ #define KMS_DRIVER_MINOR 34 #define KMS_DRIVER_PATCHLEVEL 0 -#define AMDGPU_MAX_TIMEOUT_PARAM_LENTH 256 +#define AMDGPU_MAX_TIMEOUT_PARAM_LENGTH 256 int amdgpu_vram_limit = 0; int amdgpu_vis_vram_limit = 0; @@ -100,7 +100,7 @@ int amdgpu_disp_priority = 0; int amdgpu_hw_i2c = 0; int amdgpu_pcie_gen2 = -1; int amdgpu_msi = -1; -static char amdgpu_lockup_timeout[AMDGPU_MAX_TIMEOUT_PARAM_LENTH]; +static char amdgpu_lockup_timeout[AMDGPU_MAX_TIMEOUT_PARAM_LENGTH]; int amdgpu_dpm = -1; int amdgpu_fw_load_type = -1; int amdgpu_aspm = -1; @@ -1327,9 +1327,9 @@ int amdgpu_device_get_job_timeout_settings(struct amdgpu_device *adev) adev->sdma_timeout = adev->video_timeout = adev->gfx_timeout; adev->compute_timeout = MAX_SCHEDULE_TIMEOUT; - if (strnlen(input, AMDGPU_MAX_TIMEOUT_PARAM_LENTH)) { + if (strnlen(input, AMDGPU_MAX_TIMEOUT_PARAM_LENGTH)) { while ((timeout_setting = strsep(&input, ",")) && - strnlen(timeout_setting, AMDGPU_MAX_TIMEOUT_PARAM_LENTH)) { + strnlen(timeout_setting, AMDGPU_MAX_TIMEOUT_PARAM_LENGTH)) { ret = kstrtol(timeout_setting, 0, &timeout); if (ret) return ret; -- 2.23.0