[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6b2ed339933d066622d5715903870676d8cc523a.1602590106.git.mchehab+huawei@kernel.org>
Date: Tue, 13 Oct 2020 14:14:50 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Linux Doc Mailing List <linux-doc@...r.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
"Jonathan Corbet" <corbet@....net>,
"rd.dunlab@...il.com" <rd.dunlab@...il.com>,
Bart Van Assche <bvanassche@....org>,
Doug Ledford <dledford@...hat.com>,
Guoqing Jiang <guoqing.jiang@...ud.ionos.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Kamal Heib <kamalheib1@...il.com>,
Leon Romanovsky <leon@...nel.org>,
Maor Gottlieb <maorg@...lanox.com>,
Parav Pandit <parav@...lanox.com>,
linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: [PATCH v2 23/24] RDMA: add a missing kernel-doc parameter markup
Changeset 54816d3e69d1 ("RDMA: Explicitly pass in the dma_device to ib_register_device")
added a new parameter to ib_register_device().
Document it.
Fixes: 54816d3e69d1 ("RDMA: Explicitly pass in the dma_device to ib_register_device")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
---
drivers/infiniband/core/device.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c
index feaec8d2f0ca..a3b1fc84cdca 100644
--- a/drivers/infiniband/core/device.c
+++ b/drivers/infiniband/core/device.c
@@ -1318,7 +1318,10 @@ static void prevent_dealloc_device(struct ib_device *ib_dev)
* ib_register_device - Register an IB device with IB core
* @device: Device to register
* @name: unique string device name. This may include a '%' which will
- * cause a unique index to be added to the passed device name.
+ * cause a unique index to be added to the passed device name.
+ * @dma_device: pointer to a DMA-capable device. If %NULL, then the IB
+ * device will be used. In this case the caller should fully
+ * setup the ibdev for DMA. This usually means using dma_virt_ops.
*
* Low-level drivers use ib_register_device() to register their
* devices with the IB core. All registered clients will receive a
--
2.26.2
Powered by blists - more mailing lists