Re: [PATCH rdma-next] RDMA/hns: Fix usage of bitmap allocation functions return values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux