From: SF Markus Elfring <elfring-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Devesh Sharma
<devesh.sharma-1wcpHE2jlwO1Z/+hSey0Gg@public.gmane.org>,
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Hal Rosenstock
<hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Selvin Xavier
<selvin.xavier-1wcpHE2jlwO1Z/+hSey0Gg@public.gmane.org>
Subject: [PATCH 00/26] InfiniBand-OCRDMA: Fine-tuning for several function implementations
Date: Wed, 8 Mar 2017 13:30:16 +0100 [thread overview]
Message-ID: <fc421509-4069-da8a-b308-60b49ea91ada@users.sourceforge.net> (raw)
From: Markus Elfring <elfring-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Date: Wed, 8 Mar 2017 13:14:56 +0100
Several update suggestions were taken into account
from static source code analysis.
Markus Elfring (26):
Use kcalloc() in ocrdma_create_eqs()
Use kcalloc() in ocrdma_mbx_alloc_pd_range()
Improve size determinations in ocrdma_mbx_get_dcbx_config()
Delete unnecessary variable initialisations in ocrdma_mbx_get_dcbx_config()
Improve another size determination in ocrdma_mbx_query_qp()
Improve another size determination in ocrdma_alloc_pd_pool()
Improve another size determination in ocrdma_mbx_get_ctrl_attribs()
Improve size determinations in ocrdma_mbx_rdma_stats()
Improve another size determination in ocrdma_mq_cq_handler()
Improve another size determination in ocrdma_init_emb_mqe()
Delete unnecessary braces
Adjust ten checks for null pointers
Use kcalloc() in ocrdma_alloc_resources()
Improve another size determination in ocrdma_add()
Delete an error message for a failed memory allocation in ocrdma_add()
Adjust a null pointer check in ocrdma_alloc_resources()
Use kmalloc_array() in ocrdma_create_srq()
Use kcalloc() in three functions
Improve another size determination in ocrdma_alloc_mr()
Delete an unnecessary variable assignment in ocrdma_alloc_mr()
Improve another size determination in ocrdma_create_srq()
Returning only value constants in ocrdma_resize_cq()
Delete an unnecessary variable in ocrdma_dealloc_pd()
One jump label less in ocrdma_alloc_ucontext_pd()
Delete unnecessary braces
Adjust further ten checks for null pointers
drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 88 ++++++++++-----------
drivers/infiniband/hw/ocrdma/ocrdma_main.c | 19 +++--
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 118 ++++++++++++----------------
3 files changed, 100 insertions(+), 125 deletions(-)
--
2.12.0
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2017-03-08 12:30 UTC|newest]
Thread overview: 204+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-08 12:30 SF Markus Elfring [this message]
2017-03-08 12:36 ` [PATCH 01/26] IB/ocrdma: Use kcalloc() in ocrdma_create_eqs() SF Markus Elfring
2017-03-08 12:36 ` SF Markus Elfring
2017-03-08 12:41 ` [PATCH 02/26] IB/ocrdma: Use kcalloc() in ocrdma_mbx_alloc_pd_range() SF Markus Elfring
2017-03-08 12:41 ` SF Markus Elfring
2017-03-08 14:03 ` Yuval Shaia
2017-03-08 14:03 ` Yuval Shaia
2017-04-20 20:40 ` Doug Ledford
2017-04-20 20:40 ` Doug Ledford
2017-03-08 12:48 ` [PATCH 04/26] IB/ocrdma: Delete unnecessary variable initialisations in ocrdma_mbx_get_dcbx_config() SF Markus Elfring
2017-03-08 12:48 ` SF Markus Elfring
2017-03-08 14:06 ` [PATCH 04/26] IB/ocrdma: Delete unnecessary variable initialisations in ocrdma_mbx_get_dcbx_conf Yuval Shaia
2017-03-08 14:06 ` [PATCH 04/26] IB/ocrdma: Delete unnecessary variable initialisations in ocrdma_mbx_get_dcbx_config() Yuval Shaia
2017-03-08 12:50 ` [PATCH 05/26] IB/ocrdma: Improve another size determination in ocrdma_mbx_query_qp() SF Markus Elfring
2017-03-08 12:50 ` SF Markus Elfring
2017-03-08 14:07 ` Yuval Shaia
2017-03-08 14:07 ` Yuval Shaia
2017-03-08 12:53 ` [PATCH 06/26] IB/ocrdma: Improve another size determination in ocrdma_alloc_pd_pool() SF Markus Elfring
2017-03-08 12:53 ` SF Markus Elfring
2017-03-08 12:55 ` [PATCH 07/26] IB/ocrdma: Improve another size determination in ocrdma_mbx_get_ctrl_attribs() SF Markus Elfring
2017-03-08 12:55 ` SF Markus Elfring
2017-03-08 14:08 ` Yuval Shaia
2017-03-08 14:08 ` Yuval Shaia
[not found] ` <fc421509-4069-da8a-b308-60b49ea91ada-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-08 12:45 ` [PATCH 03/26] IB/ocrdma: Improve size determinations in ocrdma_mbx_get_dcbx_config() SF Markus Elfring
2017-03-08 12:45 ` SF Markus Elfring
2017-03-08 12:45 ` SF Markus Elfring
2017-03-08 13:54 ` Yuval Shaia
2017-03-08 13:54 ` Yuval Shaia
2017-03-08 14:46 ` Devesh Sharma
2017-03-08 14:58 ` Devesh Sharma
2017-03-08 12:58 ` [PATCH 08/26] IB/ocrdma: Improve size determinations in ocrdma_mbx_rdma_stats() SF Markus Elfring
2017-03-08 12:58 ` SF Markus Elfring
2017-03-08 12:58 ` SF Markus Elfring
2017-03-08 14:20 ` Yuval Shaia
2017-03-08 14:20 ` Yuval Shaia
2017-03-08 13:04 ` [PATCH 11/26] IB/ocrdma: Delete unnecessary braces SF Markus Elfring
2017-03-08 13:04 ` SF Markus Elfring
2017-03-08 13:04 ` SF Markus Elfring
[not found] ` <c4c62b82-db2a-3db9-03c4-9f8d95a6a29b-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-08 14:24 ` Yuval Shaia
2017-03-08 14:24 ` Yuval Shaia
2017-03-08 14:24 ` Yuval Shaia
2017-03-08 14:59 ` Devesh Sharma
2017-03-08 15:11 ` Devesh Sharma
2017-03-08 14:59 ` Devesh Sharma
2017-03-08 13:10 ` [PATCH 14/26] IB/ocrdma: Improve another size determination in ocrdma_add() SF Markus Elfring
2017-03-08 13:10 ` SF Markus Elfring
2017-03-08 13:10 ` SF Markus Elfring
2017-03-08 14:27 ` Yuval Shaia
2017-03-08 14:27 ` Yuval Shaia
2017-03-08 13:20 ` [PATCH 19/26] IB/ocrdma: Improve another size determination in ocrdma_alloc_mr() SF Markus Elfring
2017-03-08 13:20 ` SF Markus Elfring
2017-03-08 13:20 ` SF Markus Elfring
2017-03-08 15:07 ` Devesh Sharma
2017-03-08 15:19 ` Devesh Sharma
[not found] ` <efefdc96-2db5-dd80-3cc4-e88537fe2d49-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-09 12:03 ` Yuval Shaia
2017-03-09 12:03 ` Yuval Shaia
2017-03-09 12:03 ` Yuval Shaia
2017-03-08 13:34 ` [PATCH 26/26] IB/ocrdma: Adjust further ten checks for null pointers SF Markus Elfring
2017-03-08 13:34 ` SF Markus Elfring
2017-03-08 13:34 ` SF Markus Elfring
[not found] ` <19973137-7453-6a50-822a-c3a075e1c18f-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-08 15:18 ` Devesh Sharma
2017-03-08 15:30 ` Devesh Sharma
2017-03-08 15:18 ` Devesh Sharma
2017-03-09 11:43 ` Yuval Shaia
2017-03-09 11:43 ` Yuval Shaia
2017-04-20 20:43 ` [PATCH 00/26] InfiniBand-OCRDMA: Fine-tuning for several function implementations Doug Ledford
2017-04-22 14:26 ` [PATCH v2 00/12] " SF Markus Elfring
2017-04-22 14:26 ` SF Markus Elfring
[not found] ` <86425035-7da8-d2b1-8544-d4f7540d50c6-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-04-22 14:30 ` [PATCH v2 01/12] IB/ocrdma: Use kcalloc() in ocrdma_mbx_alloc_pd_range() SF Markus Elfring
2017-04-22 14:30 ` SF Markus Elfring
2017-04-22 14:30 ` SF Markus Elfring
2017-04-24 16:27 ` Devesh Sharma
2017-04-24 16:39 ` Devesh Sharma
2017-04-25 17:02 ` Doug Ledford
2017-04-25 17:02 ` Doug Ledford
2017-08-08 17:26 ` [v2 " SF Markus Elfring
2017-08-08 17:26 ` SF Markus Elfring
[not found] ` <9cdbdfa6-7118-c830-7587-aa27929f7028-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-08-09 6:43 ` Leon Romanovsky
2017-08-09 6:43 ` Leon Romanovsky
2017-08-09 6:43 ` Leon Romanovsky
2017-04-22 14:33 ` [PATCH v2 02/12] IB/ocrdma: Use kcalloc() in five functions SF Markus Elfring
2017-04-22 14:33 ` SF Markus Elfring
2017-04-22 14:33 ` SF Markus Elfring
2017-04-22 14:36 ` [PATCH v2 03/12] IB/ocrdma: Improve size determinations in ten functions SF Markus Elfring
2017-04-22 14:36 ` SF Markus Elfring
2017-04-22 14:36 ` SF Markus Elfring
2017-04-23 7:33 ` Leon Romanovsky
2017-04-23 7:33 ` Leon Romanovsky
2017-04-24 12:54 ` Dennis Dalessandro
2017-04-24 12:54 ` Dennis Dalessandro
2017-04-24 13:23 ` SF Markus Elfring
2017-04-24 13:23 ` SF Markus Elfring
[not found] ` <a2b014f3-7674-6e33-3b22-72594b38a6b6-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-04-24 14:33 ` Leon Romanovsky
2017-04-24 14:33 ` Leon Romanovsky
2017-04-24 14:33 ` Leon Romanovsky
[not found] ` <20170424143332.GK14088-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-04-24 14:54 ` SF Markus Elfring
2017-04-24 14:54 ` SF Markus Elfring
2017-04-24 14:54 ` SF Markus Elfring
2017-04-24 16:38 ` [PATCH v2 03/12] " Doug Ledford
2017-04-24 16:38 ` Doug Ledford
[not found] ` <1493051938.3041.52.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-04-24 18:02 ` Leon Romanovsky
2017-04-24 18:02 ` Leon Romanovsky
2017-04-24 18:02 ` Leon Romanovsky
[not found] ` <20170423073311.GA14088-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-04-24 16:38 ` Doug Ledford
2017-04-24 16:38 ` Doug Ledford
2017-04-24 16:38 ` Doug Ledford
2017-04-22 14:40 ` [PATCH v2 04/12] IB/ocrdma: Delete unnecessary variable initialisations in ocrdma_mbx_get_dcbx_confi SF Markus Elfring
2017-04-22 14:40 ` [PATCH v2 04/12] IB/ocrdma: Delete unnecessary variable initialisations in ocrdma_mbx_get_dcbx_config() SF Markus Elfring
2017-04-22 14:43 ` [PATCH v2 05/12] IB/ocrdma: Delete unnecessary braces SF Markus Elfring
2017-04-22 14:43 ` SF Markus Elfring
2017-04-22 14:45 ` [PATCH v2 06/12] IB/ocrdma: Use kmalloc_array() in ocrdma_create_srq() SF Markus Elfring
2017-04-22 14:45 ` SF Markus Elfring
2017-04-22 14:47 ` [PATCH v2 07/12] IB/ocrdma: Adjust 21 checks for null pointers SF Markus Elfring
2017-04-22 14:47 ` SF Markus Elfring
[not found] ` <3ec5ffa4-8976-e793-f22c-5f01c9d6bb9d-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-04-23 6:07 ` Leon Romanovsky
2017-04-23 6:07 ` Leon Romanovsky
2017-04-23 6:07 ` Leon Romanovsky
2017-04-22 14:48 ` [PATCH v2 08/12] IB/ocrdma: Delete an error message for a failed memory allocation in ocrdma_add() SF Markus Elfring
2017-04-22 14:48 ` SF Markus Elfring
2017-04-22 14:49 ` [PATCH v2 09/12] IB/ocrdma: Delete an unnecessary variable assignment in ocrdma_alloc_mr() SF Markus Elfring
2017-04-22 14:49 ` SF Markus Elfring
2017-04-22 14:50 ` [PATCH v2 10/12] IB/ocrdma: Returning only value constants in ocrdma_resize_cq() SF Markus Elfring
2017-04-22 14:50 ` SF Markus Elfring
2017-04-22 14:51 ` [PATCH v2 11/12] IB/ocrdma: Delete an unnecessary variable in ocrdma_dealloc_pd() SF Markus Elfring
2017-04-22 14:51 ` SF Markus Elfring
2017-04-22 14:54 ` [PATCH v2 12/12] IB/ocrdma: One jump label less in ocrdma_alloc_ucontext_pd() SF Markus Elfring
2017-04-22 14:54 ` SF Markus Elfring
2017-03-08 13:00 ` [PATCH 09/26] IB/ocrdma: Improve another size determination in ocrdma_mq_cq_handler() SF Markus Elfring
2017-03-08 13:00 ` SF Markus Elfring
2017-03-08 14:22 ` Yuval Shaia
2017-03-08 14:22 ` Yuval Shaia
2017-03-08 13:02 ` [PATCH 10/26] IB/ocrdma: Improve another size determination in ocrdma_init_emb_mqe() SF Markus Elfring
2017-03-08 13:02 ` SF Markus Elfring
2017-03-08 14:22 ` Yuval Shaia
2017-03-08 14:22 ` Yuval Shaia
2017-03-08 14:42 ` Devesh Sharma
2017-03-08 14:54 ` Devesh Sharma
2017-03-08 13:07 ` [PATCH 12/26] IB/ocrdma: Adjust ten checks for null pointers SF Markus Elfring
2017-03-08 13:07 ` SF Markus Elfring
[not found] ` <8795100d-0577-bdcf-f4f2-04d04154bf71-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-08 14:27 ` Yuval Shaia
2017-03-08 14:27 ` Yuval Shaia
2017-03-08 14:27 ` Yuval Shaia
2017-03-08 13:09 ` [PATCH 13/26] IB/ocrdma: Use kcalloc() in ocrdma_alloc_resources() SF Markus Elfring
2017-03-08 13:09 ` SF Markus Elfring
2017-03-08 13:13 ` [PATCH 15/26] IB/ocrdma: Delete an error message for a failed memory allocation in ocrdma_add() SF Markus Elfring
2017-03-08 13:13 ` SF Markus Elfring
2017-03-08 15:03 ` Devesh Sharma
2017-03-08 15:15 ` Devesh Sharma
2017-03-08 15:26 ` Yuval Shaia
2017-03-08 15:26 ` Yuval Shaia
2017-03-08 13:15 ` [PATCH 16/26] IB/ocrdma: Adjust a null pointer check in ocrdma_alloc_resources() SF Markus Elfring
2017-03-08 13:15 ` SF Markus Elfring
2017-03-08 15:03 ` Devesh Sharma
2017-03-08 15:15 ` Devesh Sharma
[not found] ` <54750756-91cd-b508-109a-83b7b2375193-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-09 11:42 ` Yuval Shaia
2017-03-09 11:42 ` Yuval Shaia
2017-03-09 11:42 ` Yuval Shaia
2017-03-08 13:17 ` [PATCH 17/26] IB/ocrdma: Use kmalloc_array() in ocrdma_create_srq() SF Markus Elfring
2017-03-08 13:17 ` SF Markus Elfring
[not found] ` <b621d28f-08b5-8d4a-e6ea-b1208f10bb85-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-08 15:05 ` Devesh Sharma
2017-03-08 15:17 ` Devesh Sharma
2017-03-08 15:05 ` Devesh Sharma
2017-03-08 13:19 ` [PATCH 18/26] IB/ocrdma: Use kcalloc() in three functions SF Markus Elfring
2017-03-08 13:19 ` SF Markus Elfring
2017-03-08 15:10 ` Devesh Sharma
2017-03-08 15:22 ` Devesh Sharma
2017-03-08 13:22 ` [PATCH 20/26] IB/ocrdma: Delete an unnecessary variable assignment in ocrdma_alloc_mr() SF Markus Elfring
2017-03-08 13:22 ` SF Markus Elfring
2017-03-08 15:13 ` Devesh Sharma
2017-03-08 15:25 ` Devesh Sharma
2017-03-09 11:59 ` Yuval Shaia
2017-03-09 11:59 ` Yuval Shaia
2017-03-08 13:24 ` [PATCH 21/26] IB/ocrdma: Improve another size determination in ocrdma_create_srq() SF Markus Elfring
2017-03-08 13:24 ` SF Markus Elfring
[not found] ` <53b2ab35-8b0c-5cdd-dbc9-d38c7cf9e580-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-08 15:15 ` Devesh Sharma
2017-03-08 15:27 ` Devesh Sharma
2017-03-08 15:15 ` Devesh Sharma
2017-03-09 11:46 ` Yuval Shaia
2017-03-09 11:46 ` Yuval Shaia
2017-03-08 13:26 ` [PATCH 22/26] IB/ocrdma: Returning only value constants in ocrdma_resize_cq() SF Markus Elfring
2017-03-08 13:26 ` SF Markus Elfring
2017-03-08 15:16 ` Devesh Sharma
2017-03-08 15:28 ` Devesh Sharma
[not found] ` <dd638070-d1d6-44e8-6c10-16919b59482c-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-09 12:01 ` Yuval Shaia
2017-03-09 12:01 ` Yuval Shaia
2017-03-09 12:01 ` Yuval Shaia
2017-03-08 13:28 ` [PATCH 23/26] IB/ocrdma: Delete an unnecessary variable in ocrdma_dealloc_pd() SF Markus Elfring
2017-03-08 13:28 ` SF Markus Elfring
2017-03-08 15:16 ` Devesh Sharma
2017-03-08 15:28 ` Devesh Sharma
2017-03-09 11:57 ` Yuval Shaia
2017-03-09 11:57 ` Yuval Shaia
2017-03-08 13:30 ` [PATCH 24/26] IB/ocrdma: One jump label less in ocrdma_alloc_ucontext_pd() SF Markus Elfring
2017-03-08 13:30 ` SF Markus Elfring
[not found] ` <3954cbe9-a265-bcb8-2dac-daade1a5e967-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
2017-03-08 15:17 ` Devesh Sharma
2017-03-08 15:29 ` Devesh Sharma
2017-03-08 15:17 ` Devesh Sharma
2017-03-09 11:55 ` Yuval Shaia
2017-03-09 11:55 ` Yuval Shaia
2017-03-09 11:55 ` Yuval Shaia
2017-03-08 13:32 ` [PATCH 25/26] IB/ocrdma: Delete unnecessary braces SF Markus Elfring
2017-03-08 13:32 ` SF Markus Elfring
2017-03-09 11:50 ` Yuval Shaia
2017-03-09 11:50 ` Yuval Shaia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc421509-4069-da8a-b308-60b49ea91ada@users.sourceforge.net \
--to=elfring-rn4veauk+akrv+lv9mx5uipxlwaovq5f@public.gmane.org \
--cc=devesh.sharma-1wcpHE2jlwO1Z/+hSey0Gg@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=selvin.xavier-1wcpHE2jlwO1Z/+hSey0Gg@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.