]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/core: add debugging prints to explain -EINVAL in ib_uverbs_reg_mr
authorMajd Dibbiny <majd@mellanox.com>
Mon, 16 Jun 2014 07:18:41 +0000 (10:18 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:20 +0000 (14:45 -0700)
commit31e37faea53e965c0697d521bbdd92b8534180fb
tree1607ca57857376f30434243a4d05e246014c7b20
parentffc4093edecd754a98cccbbe7b9eb57595762d58
IB/core: add debugging prints to explain -EINVAL in ib_uverbs_reg_mr

Understanding why -EINVAL is returned from uverbs is difficult
as there are multiple code paths that can cause the value to be
returned. This patch adds some explainations as pr_debug prints.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/core/uverbs_cmd.c
include/rdma/ib_verbs.h