diff mbox series

[rdma-next,RESEND] docs: Fix infiniband uverbs minor number

Message ID bad03e6bcde45550c01e12908a6fe7dfa4770703.1627477347.git.leonro@nvidia.com (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show
Series [rdma-next,RESEND] docs: Fix infiniband uverbs minor number | expand

Commit Message

Leon Romanovsky July 28, 2021, 1:04 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Starting from the beginning of infiniband subsystem, the uverbs
char devices start from 192 as a minor number, see commit
 bc38a6abdd5a ("[PATCH] IB uverbs: core implementation").

This patch updates the admin guide documentation to reflect it.

Fixes: 9d85025b0418 ("docs-rst: create an user's manual book")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
RESEND: https://lore.kernel.org/lkml/YPrJorr7r9Kd2IzA@unreal
---
 Documentation/admin-guide/devices.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Jason Gunthorpe July 30, 2021, 2:09 p.m. UTC | #1
On Wed, Jul 28, 2021 at 04:04:12PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Starting from the beginning of infiniband subsystem, the uverbs
> char devices start from 192 as a minor number, see commit
>  bc38a6abdd5a ("[PATCH] IB uverbs: core implementation").
> 
> This patch updates the admin guide documentation to reflect it.
> 
> Fixes: 9d85025b0418 ("docs-rst: create an user's manual book")
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
> RESEND: https://lore.kernel.org/lkml/YPrJorr7r9Kd2IzA@unreal
> ---
>  Documentation/admin-guide/devices.txt | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to for-next, thanks

Jason
diff mbox series

Patch

diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt
index 9c2be821c225..922c23bb4372 100644
--- a/Documentation/admin-guide/devices.txt
+++ b/Documentation/admin-guide/devices.txt
@@ -2993,10 +2993,10 @@ 
 		65 = /dev/infiniband/issm1     Second InfiniBand IsSM device
 		  ...
 		127 = /dev/infiniband/issm63    63rd InfiniBand IsSM device
-		128 = /dev/infiniband/uverbs0   First InfiniBand verbs device
-		129 = /dev/infiniband/uverbs1   Second InfiniBand verbs device
+		192 = /dev/infiniband/uverbs0   First InfiniBand verbs device
+		193 = /dev/infiniband/uverbs1   Second InfiniBand verbs device
 		  ...
-		159 = /dev/infiniband/uverbs31  31st InfiniBand verbs device
+		223 = /dev/infiniband/uverbs31  31st InfiniBand verbs device
 
  232 char	Biometric Devices
 		0 = /dev/biometric/sensor0/fingerprint	first fingerprint sensor on first device