]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit004d18ea99b0f3b7b3d5790e4dc5ca7d5238706d
treedf05f8bf7aa05a74566742f52047cac3cc1d655b
parentded260235308f340b979258a4c736e06ba12c747
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