]> 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)
commit9406a18c3f2884c0fa501c003ce6b6a0d0689c74
treedf05f8bf7aa05a74566742f52047cac3cc1d655b
parentec05e722f2d98c04fcb066d1e313779f9c824f2d
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