From patchwork Thu May 20 12:02:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443259 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2223640jac; Thu, 20 May 2021 05:03:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT6ahMVHqDuQXtMYDfuS8DCaf08HhveCjKGIorPWfe8QN3dOwEZfv263pASYkz27XeSp7I X-Received: by 2002:a17:902:7d87:b029:ef:176:843b with SMTP id a7-20020a1709027d87b02900ef0176843bmr5374812plm.61.1621512222256; Thu, 20 May 2021 05:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512222; cv=none; d=google.com; s=arc-20160816; b=ZNb7mjXn942ZuQ7RLpFe2zqPPEq4xBo6vOV1TMJOkd9uaVkrgFz5x1nDiNTJKc4tQh BfHHVo5DjfEWu01K74YQkei3/X03DY1uSCtNwUGCPwuS6ZUdlA4aWMJs8ghOE3swlJzI KwO8lp5j6poBI3n4huH8fTH2WVM0/csiTsB2ft6ARwq2YoMhSoXfPJYgA9GIHg8ax2Cv d1JwXfNUZipy9N+eG0AbXLldWDnuoapqrZ5vrHOGwnTg1pbmFVcXo030NAAT0eXtENhk MZKE0tGqc/oaD7AFF9OWMPLoSvR2upo0/z723rV/758zhDwVDPtUUlwpjjUooL+mplEH awxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=Az4ajU1UenYP4llap6LwYGAmlVb81FxvttX6ntbrKHw=; b=u9hMl3phhuJRZtohm38fA1cUHWLkfURqCfJV8AnRVsVstZOXf1xsXWzSiRRv2IHlms HzjfvxaGKbCgjl6z+fCrWtlbdRHdkIFxSjaOgNfOP2Uy3qHf/VLtOVejO1CgsJb1H4Su MaRf2+kVa+vF/3jLku6G4u/XZrxwD0aMKa0AwO2RHBdtHnP1IJTFDZlxVIj6Qx1zJWW9 lpn1PjPmaGgyGcy4ElwyvOHwmRS8xX2+pjmQJPyfBxEcg8s+++Gn5x07DAid4bIZioxB ebfnsUVRW/CyrC61pleeb6VcPTYmhEtsImu2YNMbdTwngS88xvMl5SYz1/CdDieq2tVM yocw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="V0/Xcd4F"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id b9si3671543pgh.123.2021.05.20.05.03.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="V0/Xcd4F"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C169E6F422; Thu, 20 May 2021 12:03:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by gabe.freedesktop.org (Postfix) with ESMTPS id E5FB589807 for ; Thu, 20 May 2021 12:03:19 +0000 (UTC) Received: by mail-wr1-x432.google.com with SMTP id a4so17424212wrr.2 for ; Thu, 20 May 2021 05:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Az4ajU1UenYP4llap6LwYGAmlVb81FxvttX6ntbrKHw=; b=V0/Xcd4FORtoMvNKBEs95Uqtk9Dfnrrj1mowrOIgtUtj97/HkDTL7uz6D69vwAGAS3 Tdl2wWWjwYVP6GP3fWhFHoNUw4SNR/zAKwaRH3y17fCdc3FVVXkmWPvH5s1HKhZo8AYz 4Mk9Qc9YtTJ7V88BeOccyuqk2Y4USOt8e2/PyXVwFgBMsb8T0qZ+naXe5Nd7NLVINWsw /kmNqlR7g9ceexOxZxdMuoQ5CnkImv246XNufxmMTy+8b/4YhcUSXFy2+gAAuFtRSykz YYCfLFqI/SeFI26zM5Nz8d+d1R3bfy0llGMVZDcrq4MOJfmZXYJAQ6qcf/aTPzYBpVMh jeOQ== 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:mime-version:content-transfer-encoding; bh=Az4ajU1UenYP4llap6LwYGAmlVb81FxvttX6ntbrKHw=; b=W4eZRShLgqXYM88ja7VxYok1Q/X1t9HYXFQSwGHPZGTmhbh+ni5OAq2Jnk5Au0F9LV cwDkcYLo2QUDFeApBUPVIP2D06h1oMrTkTJC87w9VT1m6L4T5Ib/Pah2aVUgveijTSyU l6lqIdLUCtUObPwSrTdO9UUd+hqSE+L2XqE1ysmRcjs5wVSMcbmybFrNtY413x1lBPtc icr7Fky+6tF/uB3kNtjlLFRRSPgJ+/oBZnL42fuXV/avTBzF19qEJDqpRc3dZVRePcjL CeoOXqfIuPxrwxPFLtLAfCUEeY4tlJICbHTUyedvEidcG5rwLL2woHhD6QtCWCPh5pzQ vA8Q== X-Gm-Message-State: AOAM532ZXzwHjrxWZwOt51/oVJBM+qbI40kDMeZUM7+FVXWURmXskiHI BTsqWDKzb1aHOPhqy5ie+x8orU1eAHp1PQ== X-Received: by 2002:adf:fa52:: with SMTP id y18mr3880003wrr.355.1621512198612; Thu, 20 May 2021 05:03:18 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:18 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 26/38] drm/amd/amdgpu/gmc_v10_0: Fix potential copy/paste issue Date: Thu, 20 May 2021 13:02:36 +0100 Message-Id: <20210520120248.3464013-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520120248.3464013-1-lee.jones@linaro.org> References: <20210520120248.3464013-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:955: warning: expecting prototype for gmc_v8_0_gart_fini(). Prototype was for gmc_v10_0_gart_fini() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c index f02dc904e4cfe..105ed1bf4a88c 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c @@ -947,7 +947,7 @@ static int gmc_v10_0_sw_init(void *handle) } /** - * gmc_v8_0_gart_fini - vm fini callback + * gmc_v10_0_gart_fini - vm fini callback * * @adev: amdgpu_device pointer *