Skip to content

Add const to various core functions

[email protected] linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Changes from V1 from the cover letter

Clean up 0-day build
Clean up commit messages

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3IB/core cleanup: Add const to RDMA helpersinclude/rdma/ib_verbs.h+12 -120 replies
2/3IB/core cleanup: Add const on args - device->process_maddrivers/infiniband/hw/amso1100/c2_provider.c drivers/infiniband/hw/cxgb3/iwch_provider.c drivers/infiniband/hw/cxgb4/provider.c +20 more+80 -780 replies
3/3IB/core cleanup: Add const to args - agent_send_responsedrivers/infiniband/core/addr.c drivers/infiniband/core/agent.c drivers/infiniband/core/agent.h +5 more+29 -270 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHal RosenstockJason Gunthorpe
SeriesR-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Add const to various core functions

From: Ira Weiny <[email protected]>

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html