cxgb4: free appropriate pointer in error case
PATCH 1/1 cxgb4: free appropriate pointer in error case
--- providers/cxgb4/dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
providers/cxgb4/dev.c +2 -2
@@ -203,9 +203,9 @@ err_free:if (rhp->cqid2ptr)free (rhp->cqid2ptr);if (rhp->qpid2ptr) -free (rhp->cqid2ptr); +free (rhp->qpid2ptr);if (rhp->mmid2ptr) -free (rhp->cqid2ptr); +free (rhp->mmid2ptr);verbs_uninit_context (&context->ibv_ctx);free (context);return NULL ;
Signature · 1 line
2.3.9
Quoted 3 lines · Potnuri Bharat Teja
Fixes 9b2d3af5735e ("Query device to get the max supported stags, qps, and cqs")Signed-off-by Potnuri Bharat Teja <[email protected]>---
We are not super-excited to see patches with empty commit message. Care to send PR to rdma-core? It will be easier for us to merge it.
Thanks
Quoted 22 lines
providers/cxgb4/dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)providers/cxgb4/dev.c +2
-3@@ -203,9 +203,9 @@ err_free:if (rhp->cqid2ptr)free (rhp->cqid2ptr);if (rhp->qpid2ptr) -free (rhp->cqid2ptr); +free (rhp->qpid2ptr);if (rhp->mmid2ptr) -free (rhp->cqid2ptr); +free (rhp->mmid2ptr);verbs_uninit_context (&context->ibv_ctx);free (context);return NULL ; --2.3.9
Quoted 6 lines · Leon Romanovsky
Quoted 3 lines · Potnuri Bharat Teja
Fixes 9b2d3af5735e ("Query device to get the max supported stags, qps, and cqs")Signed-off-by Potnuri Bharat Teja <[email protected]>---
We are not super-excited to see patches with empty commit message.
My bad sent an older one instead. Shall resend the right one.
Quoted 1 line
Care to send PR to rdma-core? It will be easier for us to merge it.
This is how i do for rdma-core patches. first sent to mailing list and then send a PR. Is it the other way?
Quoted 25 lines
Thanks
Quoted 22 lines
providers/cxgb4/dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)providers/cxgb4/dev.c +2
-3@@ -203,9 +203,9 @@ err_free:if (rhp->cqid2ptr)free (rhp->cqid2ptr);if (rhp->qpid2ptr) -free (rhp->cqid2ptr); +free (rhp->qpid2ptr);if (rhp->mmid2ptr) -free (rhp->cqid2ptr); +free (rhp->mmid2ptr);verbs_uninit_context (&context->ibv_ctx);free (context);return NULL ; --2.3.9
Quoted 11 lines · Potnuri Bharat Teja
Quoted 6 lines · Leon Romanovsky
Quoted 3 lines · Potnuri Bharat Teja
Fixes 9b2d3af5735e ("Query device to get the max supported stags, qps, and cqs")Signed-off-by Potnuri Bharat Teja <[email protected]>---
We are not super-excited to see patches with empty commit message.
My bad sent an older one instead. Shall resend the right one.
Quoted 1 line
Care to send PR to rdma-core? It will be easier for us to merge it.
This is how i do for rdma-core patches. first sent to mailing list and then send a PR. Is it the other way?
You can skip sending patches to ML for trivial ones.
Thanks