lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
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