Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3723663ybg; Mon, 28 Oct 2019 18:07:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuvft7AdS8itp6eh5Wt4soVHXHI4+71R81lui4mLzO0/OlSz2WmMka65FMSi7chhQREVKB X-Received: by 2002:aa7:d852:: with SMTP id f18mr22386694eds.110.1572311273074; Mon, 28 Oct 2019 18:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572311273; cv=none; d=google.com; s=arc-20160816; b=yb5ilN1G/XAm5EQKeZy7RPGraQtb2Zv0Z8c5ne0GHoyC6Yg2xnzo5Ddxw5A55/n6/M kOsoTneAXtw4TPlRvDxIYOncLTu1IEETyJjJHHMoRt02t8t/3CMtLeLLKAjzajhKmQz4 Cb8uTFj7yi1CnqLGbhdNScHoAfVUYKTR/LkHVRZQEWb0j2nJEUeZVliJ/t7YWUHob3GA /nLoY8qurxJ7f8qsTQO9vOZtIXPi1ZksY+9Hds1UOKhzhwoOJSdH/pVdOsMD19/Rspii WensvBLadPlbuo0X85nOk/3uFe8wooF6BRqVGfiiainQ7P5Twbo5Ml7VWT4nNCsZJZuq SOig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=GQTK6QpjvNTdkkg2NeYSTEMRpVNQAutWzeXrakegZZQ=; b=Pq2e3aX747kqrp3GhGnjh/kJOYuNaC5VqjEEek1v3C4YNpz54Crn1tJ6ISFf35bSDL IzaxI8dVeI4mnqJekDUOl8A24v/7jrwhkyMGdTEPAnnN9te+0OYYkNb4d7sxF3ZcAYmz magJhEL411eOGWMK04nAcf4BirHh1UuqgjlOmAVrRKLYjEYSZ0tlmnTc7ZMFWKd16yfK qNV+p6onk1voiOE6nLa5n/UsRlD8p0LOsmg6TCszMeNvgxISIdIgSKqg9YU4KYuy32FZ bso2+UzTz+14MJ3k9VSZi9Zq/KHN/0E0XCVTD301WdXcDXGQQcK9mQWTKHOCVOJB5sXv VMiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uFCEi25z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p24si1984902eju.309.2019.10.28.18.07.28; Mon, 28 Oct 2019 18:07:53 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uFCEi25z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387937AbfJ1JUW (ORCPT + 99 others); Mon, 28 Oct 2019 05:20:22 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:34598 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387925AbfJ1JUV (ORCPT ); Mon, 28 Oct 2019 05:20:21 -0400 Received: by mail-wm1-f65.google.com with SMTP id v3so9059096wmh.1 for ; Mon, 28 Oct 2019 02:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GQTK6QpjvNTdkkg2NeYSTEMRpVNQAutWzeXrakegZZQ=; b=uFCEi25z78vO8pPx6uy4YXZTY67190GV4H/4YC/RV7/sY+NngnG7S883JdfxH/qOwD t09XGp4SjLb9SZVQSqP3/LiONdAwAooJVFxfnwEUkUig2HPGwmwZCOufWLPYVdOgHsCH cHbaP7P9RHfbFnbKko1mZiWNVTyXvA+vjALFF7LWvJw62n3BJrxCuuLFH34Ic4wlp9It udGh2SW5WZp93jauFy8ghOPtN05wVZxg0uGILj/bkvcUgTyw1N0+XZ4YoPCgBIw919qr cUk6VDna7bOqkRHmcY6cwzZTIK/kZdE20pPW+l5uc0bC1NBmTOKT2IKXLnoULRmGL8xi byAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GQTK6QpjvNTdkkg2NeYSTEMRpVNQAutWzeXrakegZZQ=; b=n2vHJ00ERO0ODiPVuSEazFXO5O+puVrxUTiS5KCx8aEK7JDjJlpv3rV4qAdGDfuuLU Moe0cZjWlPwlhjRil5iqRfpilBBx56F7ecL3aqlcu0FpCq2ppuDErz6CQKNUNNFzIm/z 6BBNeYj1b+ZGHQtkSamJYkXxMTWmRR5cKq/wyW+GS4qXpA4OrSQtT5+54HPOS4eXpLTn FFEBVfEeo1ZBik6Y7dhVXTSZNcKjBOaYQNfGwMlJQLm73suZa1M8TqWXdKK9SyFypVgA /e9e8pPAAbymKxwWqAEByXeDulXqGXMnKvIM0a4Peb5dusL/yqdMqNzchNtn6749tQeT vCYg== X-Gm-Message-State: APjAAAXzYvXlT9FhzzjTJ0/Gj+NfPtbX9Eoq7dZCOcu5qdz9fKvu+Fl0 231/r6Rm0n7clZmnNk6/GiU= X-Received: by 2002:a05:600c:2908:: with SMTP id i8mr15527215wmd.142.1572254419663; Mon, 28 Oct 2019 02:20:19 -0700 (PDT) Received: from localhost.localdomain ([197.254.95.38]) by smtp.googlemail.com with ESMTPSA id z9sm11427513wrv.1.2019.10.28.02.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 02:20:19 -0700 (PDT) From: Wambui Karuga To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: alexander.deucher@amd.com, christian.koenig@amd.com, David1.Zhou@amd.com, airlied@linux.ie, daniel@ffwll.ch, outreachy-kernel@googlegroups.com Subject: [Outreachy][PATCH 2/2] drm/amd: correct "_LENTH" mispelling in constant Date: Mon, 28 Oct 2019 12:20:05 +0300 Message-Id: <20191028092005.31121-3-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191028092005.31121-1-wambui.karugax@gmail.com> References: <20191028092005.31121-1-wambui.karugax@gmail.com> 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.h | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 3610defdfae1..7d1e528cc783 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -108,7 +108,7 @@ struct amdgpu_mgpu_info uint32_t num_apu; }; -#define AMDGPU_MAX_TIMEOUT_PARAM_LENTH 256 +#define AMDGPU_MAX_TIMEOUT_PARAM_LENGTH 256 /* * Modules parameters. @@ -126,7 +126,7 @@ extern int amdgpu_disp_priority; extern int amdgpu_hw_i2c; extern int amdgpu_pcie_gen2; extern int amdgpu_msi; -extern char amdgpu_lockup_timeout[AMDGPU_MAX_TIMEOUT_PARAM_LENTH]; +extern char amdgpu_lockup_timeout[AMDGPU_MAX_TIMEOUT_PARAM_LENGTH]; extern int amdgpu_dpm; extern int amdgpu_fw_load_type; extern int amdgpu_aspm; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 676cad15239f..4eee40b9d0b0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -2631,9 +2631,9 @@ static int amdgpu_device_get_job_timeout_settings(struct amdgpu_device *adev) else 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; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index c685400febe2..16147ca9b851 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -101,7 +101,7 @@ int amdgpu_disp_priority = 0; int amdgpu_hw_i2c = 0; int amdgpu_pcie_gen2 = -1; int amdgpu_msi = -1; -char amdgpu_lockup_timeout[AMDGPU_MAX_TIMEOUT_PARAM_LENTH]; +char amdgpu_lockup_timeout[AMDGPU_MAX_TIMEOUT_PARAM_LENGTH]; int amdgpu_dpm = -1; int amdgpu_fw_load_type = -1; int amdgpu_aspm = -1; -- 2.17.1