Re: RDMA: Clean destroy CQ in drivers do not return errors

2019-06-15 Thread Leon Romanovsky
453d624aed9c168b23d1af > > Author: Leon Romanovsky > > Date: Tue May 28 14:37:28 2019 +0300 > > > > RDMA: Clean destroy CQ in drivers do not return errors > > > > In function bnxt_re_destroy_cq() contains the following: > > > > if (!cq->umem

Re: RDMA: Clean destroy CQ in drivers do not return errors

2019-06-14 Thread Doug Ledford
gt; RDMA: Clean destroy CQ in drivers do not return errors > > In function bnxt_re_destroy_cq() contains the following: > > if (!cq->umem) > ib_umem_release(cq->umem); Given that the original test that was replaced was: if (!IS_ERR_OR_NULL(c

re: RDMA: Clean destroy CQ in drivers do not return errors

2019-06-14 Thread Colin Ian King
Hi, Static analysis with Coverity reported an issue with the following commit: commit a52c8e2469c30cf7ac453d624aed9c168b23d1af Author: Leon Romanovsky Date: Tue May 28 14:37:28 2019 +0300 RDMA: Clean destroy CQ in drivers do not return errors In function bnxt_re_destroy_cq() contains