From patchwork Thu May 20 12:02:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443261 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2223680jac; Thu, 20 May 2021 05:03:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG9Rn6sxx29Br/TxJLKNApRAmzNOwemsMbeTeIEPQg5V/G1zyyiqIvb28enNDOJ7JUCZzv X-Received: by 2002:a17:902:f281:b029:f0:bdf2:2fe5 with SMTP id k1-20020a170902f281b02900f0bdf22fe5mr5383103plc.68.1621512224691; Thu, 20 May 2021 05:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512224; cv=none; d=google.com; s=arc-20160816; b=QtSM9Yx1fLiVH6Ph3WgtBUyoAw5MDFg9GRTvvo4HZmiyeFbaRBJQIXDodeCOs+1kp6 yCdQyk0LlOWSPrOtRf9UhOqIkd2YHDje1FC+NZy5j02BL4Ho1rs1KmDLmbabk0j5LKBs z74MUpwj2kpScit3txaa1sZR2HYMatSK1PhJN5BpAqHT7Nh8lKm2uPUixL77m1F2vtSV 6UYTDrpMT2gtwq7indBF1esqJ2P+oZz9aiwzMhak9RtFH1JSH3O3dUPcN0P5FelIb025 S0W5PCbR+r/skUhOLg+TIbnMfVPzqIDlW1BtGH//jEBjK2hhhiWOysuDoKIuxJ3cgOuH I/cQ== 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=aa3gg5EuMa9A5nk5o0d0T8SZ6WR+4Hli7trc1GNqVzE=; b=kUvqUi9wspeWWdM1oFzSdqsAr2UdqXZWNqtA4yqCU6Koe79nVlS+TUnJ8Fu3Itf87J 8eStQwTjFmajOT2E8eTub3pxWrb/rMDLWRYp9ErqmYa0lZrvYpGLzcujhJPkg7L2x18D 7s6Zj5y591jLSA6T+ZS/VBxqTUnu5/Q2e4Z1RI9H3i+LM3J1f3x0cOJU32zSj7vuom3T l86iJb6k2L9sB0NpGlCLE7CwEv0sKkZA1i/CIMIaD1km6DiMjevCZy0CJmhHrtSxmzl5 +ihTrgzUy9d4AD+UoIykorykjfbD5/VmMWaH+FhDgnbWmbQMyb5XurCcUnudJpgR9WKx zcaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="P/8FbvIM"; 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 l8si2767741plt.324.2021.05.20.05.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:44 -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="P/8FbvIM"; 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 A2EE06F421; 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-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id C5FE78915F for ; Thu, 20 May 2021 12:03:16 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id a4so17424026wrr.2 for ; Thu, 20 May 2021 05:03:16 -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=aa3gg5EuMa9A5nk5o0d0T8SZ6WR+4Hli7trc1GNqVzE=; b=P/8FbvIM/h7Ij52WQCkLtGbmLfZt2AIUofpELl7aKx9cVVKxRhCPQWSTqLoL+D5ek0 3e7FpGFtcDBnwmpnAo9QDgzBiqYfUul8fsWJeAdJ7gqxXWD3KfNPqhNmL0hOBgD8iCLs RHzl84pChy/3XbBLbG+ny0C3LSao4HP+jP1MS08fMA09Bv1MtJYVhGkCT6RL8+WsnmG6 2IpoNRsoY7lJhmH+oP52+LkzipwOSevCUEQlu28ZqIaOJy+zUHSR8XzhYCrK4pomOiQM H9hu5ChdIaJPBw6CSJrYMjgHUW9+6vQGnmLJfH42Xr7yZ3VgkiBDkOTrowlpSuVIksnb 9qlg== 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=aa3gg5EuMa9A5nk5o0d0T8SZ6WR+4Hli7trc1GNqVzE=; b=IA4k/hpJSaWA20b+J1b8JqjgeOyVtuEqXCTYFgKtCSy1/nasA+w8kRcdL3QIDQl89v MaVsR9+h/0hic1juOEe019DxbsLsYz1wQ5syGsWEPUuzt7+if+OjFEo4xsTB1N2XQALi XlGNew23xzBsTOY8pDy+CgGHY5BtDsnvp9I+fIlPvc3dGqkSn9A/XUxZ0QdUTuNNAxoc HtFsr6QVsyS+N5HMPoDERzrOXUGmfpM5y4QciN9gFDOvIRuClTjCZXWl5XGwFzL1WEKu eVkAFI+o+oM4NeF7AQqqlLeRVso8wAzzykY1dMyeSRJjetnzSffFV4lM0j2e0+W0saN9 MZig== X-Gm-Message-State: AOAM531f7gV7ONmZVOafz53W7es4kWriUssRG3DLDOSEG0snyqGfOZLG RjT5CQXubnxtuTtGC+rnkIje2Q== X-Received: by 2002:a5d:50c7:: with SMTP id f7mr4038472wrt.189.1621512195526; Thu, 20 May 2021 05:03:15 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:15 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/38] drm/amd/amdgpu/gmc_v7_0: Fix potential copy/paste issue Date: Thu, 20 May 2021 13:02:33 +0100 Message-Id: <20210520120248.3464013-24-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, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= 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_v7_0.c:526: warning: expecting prototype for gmc_v8_0_set_fault_enable_default(). Prototype was for gmc_v7_0_set_fault_enable_default() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c index 210ada2289ec9..8e282169f99eb 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c @@ -516,7 +516,7 @@ static void gmc_v7_0_get_vm_pte(struct amdgpu_device *adev, } /** - * gmc_v8_0_set_fault_enable_default - update VM fault handling + * gmc_v7_0_set_fault_enable_default - update VM fault handling * * @adev: amdgpu_device pointer * @value: true redirects VM faults to the default page