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) From patchwork Fri Nov 13 13:49:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324319 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214249ils; Fri, 13 Nov 2020 05:52:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDJFc6mhkObzXFb7kgtM+D0NY4y1FXk6mdyGJyaQU2Z7G49HGDD409gtzsuWKfQU8ay4Ns X-Received: by 2002:aa7:c597:: with SMTP id g23mr2513226edq.184.1605275534228; Fri, 13 Nov 2020 05:52:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275534; cv=none; d=google.com; s=arc-20160816; b=r5+BFGhS7Ts0NjHYXAmumN84CsnIBtFnpwhUqQF2O64zyj8ErTDkZz99nF5GkoKwXD +NBZG0KcM9n5v4MVRgjwiCI/QJRLn1+mZZ2Kq6lXFVdh3ZdKDpc+IiC/NVDEWahvyvTs 50HEJGS3VX8dJpQZZQ8pFn6FiX9EgWzMl+yfnoJSQtrfZtdgBxVoQALvc7s9LmyVrE+8 mftKDkOZxQ+Tnk2n96BHM81V9us6hYFUGHMvLk6Q4IYoR17s/jZV+eyjj0zM+XpL0fk6 hYxBXEILMNV4vGNO54+TicREmYkHi7eCpek1s66pXsvj75+wnM94rfsZV8ZjhRz+nqte OMWA== 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=9BXDPKXdRdueiwX/LiUMD6iJyASVIxZBD/garEIirGM=; b=Y51JY+eN0V37IIoiVHzAy06ZmkI7y4Lmc/hOq+6a6/OsazG6a3tPPIqiToAHHxrS1t yjRxkWNWgkPCgNJ2inGfPSTjPYA3idsJjiJ4B+TGeuc0y1uarx4Bt0n0Hv8h+SSh5GN9 rqAk+aXQMG6fqmUHXElamzTQ+WRa9qi6ZiFl2ZLx9S401WcKilnVUwxMDo1dE+v/sgND zYsAFEuvaqFuR7rZmqElim2UHEJZljRV8InsA0hCrKHY3xiqaHwVSa3htANCXSSb6Ul6 R9gmj0CpSTmRgT2qt6oUO1hJ56WHMl2KDEPu04CKlrT86s/tm6eNWwl4x9A4BDxD4Eil 0nyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=brzqYYPJ; 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 p3si6769617edd.200.2020.11.13.05.52.14; Fri, 13 Nov 2020 05:52:14 -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=brzqYYPJ; 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 S1727027AbgKMNwG (ORCPT + 4 others); Fri, 13 Nov 2020 08:52:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbgKMNuO (ORCPT ); Fri, 13 Nov 2020 08:50:14 -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 D7A4AC061A04 for ; Fri, 13 Nov 2020 05:50:13 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id 19so8222023wmf.1 for ; Fri, 13 Nov 2020 05:50:13 -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=9BXDPKXdRdueiwX/LiUMD6iJyASVIxZBD/garEIirGM=; b=brzqYYPJkw4pvefC6wQnPQA3Y6um+5RdpE0kqcXc8rWKOoh3kU8lFmA0iBxjIcgt00 h4iU9zhdlP0z2tW1JX4ar2UoS2qeuZtG9qwEuJcfocBjGp1cudNK/Ek0NiHbnm47LD9L 2K3Qpn/guN7e6yEew9UrNl6xP2g9fkryB13QzPj/hMBdym6w8zpGZtTqclPt8qV+E/Uf 39UB1eN3IJD0X7z8smthTFYuEKmY4N/btLwe00Kqtf1Dmh3c+r6qrpMJlyUMvkXlhpaT F4IHPwYSN3v5J4jRWacrfkkh32cypL57qfFCSaYSqB1UHvJH0C8CHut+A0Om1rWcdKv0 wrhA== 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=9BXDPKXdRdueiwX/LiUMD6iJyASVIxZBD/garEIirGM=; b=CWlPpjnSdcTW20a/zQGKNaIGVCHy9iqWXU5NBA4uPDB5PcsxTSHUxSq5A106IOp+lw LKIvDbBkZJkp5dSGyQtwflx+yzd6xhX+eypI/w5fZtvDqnh9imXtC0/EPL3+mHj3OiMa p/N6HchVRxpPXjBjkA4mSrcJkVrI+yogpkQDES9CV5Lz2CHtBycILcp+aDQlkYiN2RFf YfIylHn2VdW85MBdYSw/HeDSpu8Pt8R0fL0ESTdNxxLCDSoXD8FOGNkOu6f1lnnwumWv OZcV64mAa+mqjAOIQJAz+sqss48aoj38NbXb2kLT04tVprYHNR040dUcbiQIzvROBM3U N87A== X-Gm-Message-State: AOAM530TTcSTltmHCZAEiFlAnYdaP0d6O+PZLO1OK69mzvwIaFSc2t9F dEvUrJXYuXVZUgVtTF6bcjRJ6A== X-Received: by 2002:a1c:4c0a:: with SMTP id z10mr2655258wmf.96.1605275412550; Fri, 13 Nov 2020 05:50:12 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:11 -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 25/40] drm/amd/amdgpu/amdgpu_debugfs: Demote obvious abuse of kernel-doc formatting Date: Fri, 13 Nov 2020 13:49:23 +0000 Message-Id: <20201113134938.4004947-26-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_debugfs.c:308: warning: Function parameter or member 'f' not described in 'amdgpu_debugfs_regs_read' drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:308: warning: Function parameter or member 'buf' not described in 'amdgpu_debugfs_regs_read' drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:308: warning: Function parameter or member 'size' not described in 'amdgpu_debugfs_regs_read' drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:308: warning: Function parameter or member 'pos' not described in 'amdgpu_debugfs_regs_read' drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:317: warning: Function parameter or member 'f' not described in 'amdgpu_debugfs_regs_write' drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:317: warning: Function parameter or member 'buf' not described in 'amdgpu_debugfs_regs_write' drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:317: warning: Function parameter or member 'size' not described in 'amdgpu_debugfs_regs_write' drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:317: warning: Function parameter or member 'pos' not described in 'amdgpu_debugfs_regs_write' 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_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c index 5c1f3725c7410..a6667a2ca0db3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c @@ -300,7 +300,7 @@ static int amdgpu_debugfs_process_reg_op(bool read, struct file *f, return result; } -/** +/* * amdgpu_debugfs_regs_read - Callback for reading MMIO registers */ static ssize_t amdgpu_debugfs_regs_read(struct file *f, char __user *buf, @@ -309,7 +309,7 @@ static ssize_t amdgpu_debugfs_regs_read(struct file *f, char __user *buf, return amdgpu_debugfs_process_reg_op(true, f, buf, size, pos); } -/** +/* * amdgpu_debugfs_regs_write - Callback for writing MMIO registers */ static ssize_t amdgpu_debugfs_regs_write(struct file *f, const char __user *buf,