On Thu, Aug 09, 2018 at 10:00:47PM +0300, Gal Pressman wrote: > hns bitmap allocation functions return 0 on success and -1 on failure. > Callers of these functions wrongly used their return value as an errno, fix > that by making a proper conversion. > > Fixes: a598c6f4c5a8 ("IB/hns: Simplify function of pd alloc and qp alloc") > Signed-off-by: Gal Pressman <pressmangal@xxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_pd.c | 2 +- > drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to for-next Thanks, Jason