Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4702847pxu; Tue, 13 Oct 2020 05:19:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpS4ZxupVFFifaE2TrKTkp07g2g1ifzb5uA+7AD1hnYzaQNQZ3VFQ8U9FG/wri97J7b+k1 X-Received: by 2002:a17:906:ad8a:: with SMTP id la10mr32670433ejb.176.1602591567435; Tue, 13 Oct 2020 05:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602591567; cv=none; d=google.com; s=arc-20160816; b=0Z3ZpmvVcWsbJ96eJkhVDzNyZE9wSZlavKWLpSdqiJiign88T9Jia1OmMKjSzv6Wuj 8rutxyOQYuG7LyxxG/vCxZ6mYl2Q+yM22x9d0/JFoWwiM2ShKCcdoQ+uJvsIvKHAwpW1 dvTaRIGsef0SKvD9F1rCwsbtxP3r9AcVCwdCSMyn7e5b4CcXD3GVB00fwTk2wUYHQvQi T/MT0vP6hfPhA52FMvy2DsoBhpTsXxjbdLpzKZmU5RlfyVO3MQ1V8EMSp9KHrmp+/Ur4 jYbokHscjLunqgCQmov1ibzVxMJsJjPoeKrsCuNRT0RiPw0J01uimO+dN/TwBvejMkt2 ZZQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bfx2S8x4jcDoUAyY1oIKKlR2A/geY/dExdSsfAxIBSc=; b=uRgj2tIZ00XTrCstwEODvNZDulR4YB8kvHxMCgX/o6+Fpj/iNAGJUeDTsb0HBWm6Hh H8sNqru4thEpL0Kz4nFbQYu5eo2Wtw8QFtuz1uXNVN11H1ilVe0dTneu175gVaH5on7l /K0XTUrudizwSYPdH7DI4G9jWxJnblsiT1jk5iyo/hGKZbln/iq9FbFtCeFUspPzKkM/ phIOWuMlavH223+fzY81nhh6uZBMMvHSZkhXo7DI8cne/NwrSd3u6nHtIiSgHhJ/ymqz r6APlNngvHl5Yq9SluESTAA6nU2zqwRAdg40smCDcuBZyFS8O+Oj35Ng5vEIZsUwAIRD UA0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pLKZYwUf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zj19si14174982ejb.605.2020.10.13.05.19.05; Tue, 13 Oct 2020 05:19:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=pLKZYwUf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727710AbgJMMPq (ORCPT + 99 others); Tue, 13 Oct 2020 08:15:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:41344 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727022AbgJMMO5 (ORCPT ); Tue, 13 Oct 2020 08:14:57 -0400 Received: from mail.kernel.org (ip5f5ad5b2.dynamic.kabel-deutschland.de [95.90.213.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A75122400; Tue, 13 Oct 2020 12:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602591295; bh=Xx1nqZUs1Cn9NQ/RFywLp52tQmE9pzr1tQGxN0xfLMc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pLKZYwUfqS0djbTxgctSN2fB7QbIYBPSRA4YlKJTv/cs4TC6puun3kxAlJUQni4ur 2BZNRJJUlMcZIl/xgG4uNxuAf4MlY+AkWUJklHabE3h42dfrcUvTV+q9E90uamsN8n zXTF9wjWHX/RSSVa8X/kpTRbmr/b/GgmolNhv70A= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSJCf-006Coo-CF; Tue, 13 Oct 2020 14:14:53 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "rd.dunlab@gmail.com" , Bart Van Assche , Doug Ledford , Guoqing Jiang , Jason Gunthorpe , Kamal Heib , Leon Romanovsky , Maor Gottlieb , Parav Pandit , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org Subject: [PATCH v2 23/24] RDMA: add a missing kernel-doc parameter markup Date: Tue, 13 Oct 2020 14:14:50 +0200 Message-Id: <6b2ed339933d066622d5715903870676d8cc523a.1602590106.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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