]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/ocrdma: fix a type issue in ocrdma_put_pd_num()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 23 Feb 2017 10:40:16 +0000 (13:40 +0300)
committerDoug Ledford <dledford@redhat.com>
Sat, 25 Mar 2017 01:11:15 +0000 (21:11 -0400)
commit987ed28772eb61485da1b770c306d6f5bbe27ad0
treedf05f8bf7aa05a74566742f52047cac3cc1d655b
parentdc81147b2826ef36368945528a5d6ff38bfda100
RDMA/ocrdma: fix a type issue in ocrdma_put_pd_num()

We want to return zero on success or negative error codes.  The type
should be int and not u8.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c