public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add const to various core functions
@ 2015-05-21 20:40 ira.weiny-ral2JQCrhuEAvxtiuMwx3w
       [not found] ` <1432240824-3277-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: ira.weiny-ral2JQCrhuEAvxtiuMwx3w @ 2015-05-21 20:40 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Ira Weiny

From: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

In order to support some of Jason's comments to add const to the functions I am
adding for OPA the following patches clean up the call trees of the currently
defined functions.

They stand on their own as clean up patches.  Therefore, I am submitting them
separately from the OPA patches.

Ira Weiny (3):
  IB/core: Add const to RDMA helpers
  IB/core: Add const to device process_mad
  IB/core: Add const to agent_send_response

 drivers/infiniband/core/addr.c                |  4 +--
 drivers/infiniband/core/agent.c               |  8 +++---
 drivers/infiniband/core/agent.h               |  4 +--
 drivers/infiniband/core/cache.c               |  8 +++---
 drivers/infiniband/core/verbs.c               |  9 ++++---
 drivers/infiniband/hw/amso1100/c2_provider.c  |  6 ++---
 drivers/infiniband/hw/cxgb3/iwch_provider.c   |  6 ++---
 drivers/infiniband/hw/cxgb4/provider.c        |  5 ++--
 drivers/infiniband/hw/ehca/ehca_iverbs.h      |  4 +--
 drivers/infiniband/hw/ehca/ehca_sqp.c         |  4 +--
 drivers/infiniband/hw/ipath/ipath_mad.c       |  8 +++---
 drivers/infiniband/hw/ipath/ipath_verbs.h     |  6 ++---
 drivers/infiniband/hw/mlx4/mad.c              | 21 ++++++++-------
 drivers/infiniband/hw/mlx4/mlx4_ib.h          |  8 +++---
 drivers/infiniband/hw/mlx5/mad.c              |  8 +++---
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |  8 +++---
 drivers/infiniband/hw/mthca/mthca_cmd.c       |  4 +--
 drivers/infiniband/hw/mthca/mthca_cmd.h       |  4 +--
 drivers/infiniband/hw/mthca/mthca_dev.h       |  6 ++---
 drivers/infiniband/hw/mthca/mthca_mad.c       | 10 +++----
 drivers/infiniband/hw/nes/nes_verbs.c         |  4 +--
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c      |  6 ++---
 drivers/infiniband/hw/ocrdma/ocrdma_ah.h      |  6 ++---
 drivers/infiniband/hw/qib/qib_mad.c           | 10 +++----
 drivers/infiniband/hw/qib/qib_verbs.h         |  4 +--
 drivers/net/ethernet/mellanox/mlx5/core/mad.c |  2 +-
 include/linux/mlx5/driver.h                   |  2 +-
 include/rdma/ib_addr.h                        |  6 ++---
 include/rdma/ib_cache.h                       |  8 +++---
 include/rdma/ib_verbs.h                       | 39 ++++++++++++++-------------
 30 files changed, 116 insertions(+), 112 deletions(-)

-- 
1.8.2

--
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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/3] Add const to various core functions
@ 2015-05-31 21:15 ira.weiny-ral2JQCrhuEAvxtiuMwx3w
       [not found] ` <1433106931-5215-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: ira.weiny-ral2JQCrhuEAvxtiuMwx3w @ 2015-05-31 21:15 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Ira Weiny

From: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

In order to support some of Jason's comments to add const to the functions I am
adding for OPA the following patches clean up the call trees of the currently
defined functions.

They stand on their own as clean up patches.  Therefore, I am submitting them
separately from the OPA patches.

---
Changes from V1:
	Clean up 0-day build
	Clean up commit messages

Ira Weiny (3):
  IB/core cleanup: Add const to RDMA helpers
  IB/core cleanup: Add const on args - device->process_mad
  IB/core cleanup: Add const to args - agent_send_response

 drivers/infiniband/core/addr.c                |    4 +-
 drivers/infiniband/core/agent.c               |    8 ++--
 drivers/infiniband/core/agent.h               |    4 +-
 drivers/infiniband/core/cache.c               |    8 ++--
 drivers/infiniband/core/verbs.c               |    9 +++--
 drivers/infiniband/hw/amso1100/c2_provider.c  |    6 ++--
 drivers/infiniband/hw/cxgb3/iwch_provider.c   |    6 ++--
 drivers/infiniband/hw/cxgb4/provider.c        |    5 ++-
 drivers/infiniband/hw/ehca/ehca_iverbs.h      |    4 +-
 drivers/infiniband/hw/ehca/ehca_sqp.c         |   14 ++++----
 drivers/infiniband/hw/ipath/ipath_mad.c       |    8 ++--
 drivers/infiniband/hw/ipath/ipath_verbs.h     |    6 ++--
 drivers/infiniband/hw/mlx4/mad.c              |   21 +++++++------
 drivers/infiniband/hw/mlx4/mlx4_ib.h          |    8 ++--
 drivers/infiniband/hw/mlx5/mad.c              |    8 ++--
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |    8 ++--
 drivers/infiniband/hw/mthca/mthca_cmd.c       |    4 +-
 drivers/infiniband/hw/mthca/mthca_cmd.h       |    4 +-
 drivers/infiniband/hw/mthca/mthca_dev.h       |    6 ++--
 drivers/infiniband/hw/mthca/mthca_mad.c       |   10 +++---
 drivers/infiniband/hw/nes/nes_verbs.c         |    4 +-
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c      |    6 ++--
 drivers/infiniband/hw/ocrdma/ocrdma_ah.h      |    6 ++--
 drivers/infiniband/hw/qib/qib_mad.c           |   10 +++---
 drivers/infiniband/hw/qib/qib_verbs.h         |    4 +-
 drivers/net/ethernet/mellanox/mlx5/core/mad.c |    2 +-
 include/linux/mlx5/driver.h                   |    2 +-
 include/rdma/ib_addr.h                        |    6 ++--
 include/rdma/ib_cache.h                       |    8 ++--
 include/rdma/ib_verbs.h                       |   39 +++++++++++++------------
 30 files changed, 121 insertions(+), 117 deletions(-)

--
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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-06-01 17:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 20:40 [PATCH 0/3] Add const to various core functions ira.weiny-ral2JQCrhuEAvxtiuMwx3w
     [not found] ` <1432240824-3277-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-21 20:40   ` [PATCH 1/3] IB/core: Add const to RDMA helpers ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-21 20:40   ` [PATCH 2/3] IB/core: Add const to device process_mad ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-21 20:40   ` [PATCH 3/3] IB/core: Add const to agent_send_response ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-29  4:13   ` [PATCH 0/3] Add const to various core functions ira.weiny
     [not found]     ` <20150529041313.GA1603-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-05-29 12:54       ` Doug Ledford
     [not found]         ` <1432904099.114391.61.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-05-29 15:17           ` ira.weiny
     [not found]             ` <20150529151735.GA5372-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-05-29 15:32               ` ira.weiny
     [not found]                 ` <20150529153231.GA10432-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-05-29 15:48                   ` Doug Ledford
     [not found]                     ` <1432914533.114391.88.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-05-29 15:59                       ` ira.weiny
     [not found]                         ` <20150529155937.GA17567-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-05-29 16:23                           ` Doug Ledford
2015-05-29 15:47               ` Doug Ledford
  -- strict thread matches above, loose matches on Subject: below --
2015-05-31 21:15 ira.weiny-ral2JQCrhuEAvxtiuMwx3w
     [not found] ` <1433106931-5215-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-06-01 13:37   ` Hal Rosenstock
2015-06-01 17:32   ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox