Blame SOURCES/0003-man-Fix-return-value-for-ibv_reg_dm_mr.patch

96ca5f
From 35a879329128596bdf0f1ac51fcd786cb1b59d86 Mon Sep 17 00:00:00 2001
96ca5f
From: Noa Osherovich <noaos@mellanox.com>
96ca5f
Date: Sun, 10 Nov 2019 15:11:50 +0200
96ca5f
Subject: [PATCH rdma-core 3/5] man: Fix return value for ibv_reg_dm_mr
96ca5f
96ca5f
[ Upstream commit bd96015f5167dded567ecb73f11a04d1d00a8036 ]
96ca5f
96ca5f
ibv_reg_dm_mr returns a struct ibv_mr pointer while man page defined
96ca5f
it as returning an int. Fix the description.
96ca5f
96ca5f
Fixes: e1cebbf50c262 ('verbs: Add device memory (DM) support in libibverbs')
96ca5f
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
96ca5f
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
96ca5f
---
96ca5f
 libibverbs/man/ibv_alloc_dm.3 | 2 +-
96ca5f
 1 file changed, 1 insertion(+), 1 deletion(-)
96ca5f
96ca5f
diff --git a/libibverbs/man/ibv_alloc_dm.3 b/libibverbs/man/ibv_alloc_dm.3
96ca5f
index d28a955c..28fa488a 100644
96ca5f
--- a/libibverbs/man/ibv_alloc_dm.3
96ca5f
+++ b/libibverbs/man/ibv_alloc_dm.3
96ca5f
@@ -70,7 +70,7 @@ is done with a byte offset from the beginning of the region.
96ca5f
 .sp
96ca5f
 This type of registration is done using ibv_reg_dm_mr.
96ca5f
 .sp
96ca5f
-.BI "int ibv_reg_dm_mr(struct ibv_pd " "*pd" ", struct ibv_dm " "*dm" ", uint64_t " "dm_offset",
96ca5f
+.BI "struct ibv_mr* ibv_reg_dm_mr(struct ibv_pd " "*pd" ", struct ibv_dm " "*dm" ", uint64_t " "dm_offset",
96ca5f
 .BI "                  size_t " "length" ", uint32_t " "access");
96ca5f
 .sp
96ca5f
 .I pd
96ca5f
-- 
96ca5f
2.20.1
96ca5f