From patchwork Fri Nov 13 13:49:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324289 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212675ils; Fri, 13 Nov 2020 05:50:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvSBNJiWfLHzFJVjvwHE8Yw3LPywliV7ZEWSJ5afP+Gtbv1kPsv6vg51Si15eB8LuDIjgV X-Received: by 2002:a17:906:94d4:: with SMTP id d20mr1926609ejy.392.1605275400723; Fri, 13 Nov 2020 05:50:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275400; cv=none; d=google.com; s=arc-20160816; b=Fm+LSpRVVXoyN+l1sZGtWkTz6hps0noB2rMA/BzrPapI34GOD41t3bmpWM5saU4Q9G 6E7zntlOWQYBE2pSszN//c9pZ5J47Dwta0LyXpqj9kquKfPzrbDectTC2Q0EfeIxVQ8V ujjux1NkjAb+ceO0iRD4ASnSoKEtsE+W9Wa34MkhiLkHvY3nTe7cUshbZfGjdOnjb+ZN nP9P/ingEz8kWGV7K+wuRAGR6JZ2eu/AbXmCKHD9ewTRq1aZhbPCstv5Gkm936j3+Sx6 JgijWJV0GMFXg3769+9tzC58SrCu6uNMyMx8DS9wYYb+6XtTu2z7/CwtEkJqFt67zYdH 9N0A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6/SblzwLdOmJ9tWarQDFSbsr05Zj/WUad2ODh3SNdKc=; b=HOWTRbvXoF3u0KeH7ln+JNvkK4KD0VAbhdtqiqty0iUiUhDJfby0u6o8/JTvY1pZSy 4tWZALF2UWq6ETaPfjKkRrt7d9aRQzmmuc1VypOGMrns4Zc7GJcBaIG/u2utTndAdSpD f0+bPO8G6O/R0JnCoFABCnztT5z0zh86SYxGG7JdqlS8iJl3GZ2Ei+QXRla1ldyyBnjt TI1I8F+3zlqrdrYcJ2iynyH/tDuZWlOz6WBqRxIY68xYDR7RLlaiA8R7ra0j9+LyyQhU XJOe0FBpBvhoGxrhxot1klk19aNFw4MpQD1GWAY19U9uZ7I+DySpVDRCfxF2IX6rGVqI 9Tew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1p0NVuH; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w15si5856946ejk.62.2020.11.13.05.50.00; Fri, 13 Nov 2020 05:50:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1p0NVuH; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726894AbgKMNt7 (ORCPT + 4 others); Fri, 13 Nov 2020 08:49:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbgKMNty (ORCPT ); Fri, 13 Nov 2020 08:49:54 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D642AC061A47 for ; Fri, 13 Nov 2020 05:49:49 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id a65so8576605wme.1 for ; Fri, 13 Nov 2020 05:49:49 -0800 (PST) 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=6/SblzwLdOmJ9tWarQDFSbsr05Zj/WUad2ODh3SNdKc=; b=Y1p0NVuHUW4H9XgyeNEWCXTCVdtUlbV30yUCoYgsuqo4Y01RdEjka3nughIasrl1gp /eqiX+NbO1uIk+A3G8OtTbt0AwZXPnEaxkpnpoX0txhxN5lZMtgFsh2BUkU/LiDjdh36 Ly8Ij7JoJsu4OIEFMhMk9bCFS5nA+jHJAv1qyMPRlaq1hSyddSb1ydx+hp1xs0J3hShO zbbnJdr/fBEncMp+JHcFJNpQqw0FQ5p88wQWyBocKZ+5TV7ehN7RQUtW07XFUDBVEgF8 7dkkhHl5fRILzvVR8k65Yiax9xqCgRdFaUy/6BoiRrP+EWD61nsmY8gCMlxu2+ru4vjv k0Yw== 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=6/SblzwLdOmJ9tWarQDFSbsr05Zj/WUad2ODh3SNdKc=; b=JMHmEez9bjQxVFFg/Itq3Nn5sUMGA86MG4bFpr42Q+NUdKPx01fmsx4TP59Z0ZA8NE mOhbOGPQZJS4D2s/uM/PzTgMsNz1LI9UrGwYd0AqSgoTlbEx5qeu4CS1UwTkwKVz61i8 hCrVjo/LbJjxqWlwzbEQc32g1Rj6VDNLeBdDVZmwxXnPcBcjvXmPAyk35Rla0XvkfBjJ UQPsosfr5fX1iguxXJigXhnKRz9Wcjz5T7sJBc8e1BpFvd8sZnGepNTZAVOFYB8umcYI MLqR6dAgiCB1xc91KcdJQfmwkOZhtZJ+qMKCA5d00tsImuJZDl85swIOj4CWwidJuTur n7aw== X-Gm-Message-State: AOAM533hGigvCp9Vk8pWtvoGMQVeaoz0KN+2iHZv+q0QGjt4RQAzLqpK IX6sDK30JaaHFwI7H+gUpXyqtQ== X-Received: by 2002:a1c:c286:: with SMTP id s128mr2672526wmf.88.1605275388627; Fri, 13 Nov 2020 05:49:48 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:48 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6n?= =?utf-8?q?ig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 05/40] drm/amd/amdgpu/amdgpu_ring: Fix misnaming of param 'max_dw' Date: Fri, 13 Nov 2020 13:49:03 +0000 Message-Id: <20201113134938.4004947-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:168: warning: Function parameter or member 'max_dw' not described in 'amdgpu_ring_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:168: warning: Excess function parameter 'max_ndw' description in 'amdgpu_ring_init' 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/amdgpu_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c index a23b2079696a1..1a612f51ecd9e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c @@ -154,7 +154,7 @@ void amdgpu_ring_undo(struct amdgpu_ring *ring) * * @adev: amdgpu_device pointer * @ring: amdgpu_ring structure holding ring information - * @max_ndw: maximum number of dw for ring alloc + * @max_dw: maximum number of dw for ring alloc * @irq_src: interrupt source to use for this ring * @irq_type: interrupt type to use for this ring * @hw_prio: ring priority (NORMAL/HIGH)