Skip to content

IB/mad: refactor functions based on the needs of those functions.

[email protected] linux-rdma 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 1 replyIn review
  2. v1 posting 1/23 patches 2 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4IB/mad: Change validate_mad signature to take const ib_mad_hdr rather than ib_maddrivers/infiniband/core/mad.c+6 -60 replies
2/4IB/mad: Change ib_response_mad signature to take const ib_mad_hdr rather than ib_maddrivers/infiniband/core/mad.c drivers/infiniband/core/user_mad.c include/rdma/ib_mad.h+14 -140 replies
3/4IB/mad: Clean up rcv_has_same_classdrivers/infiniband/core/mad.c+3 -30 replies
4/4IB/mad: Add const qualifiers to query only functionsdrivers/infiniband/core/mad.c drivers/infiniband/core/mad_priv.h include/rdma/ib_mad.h+11 -110 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchJason GunthorpeSean Hefty
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4

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/4][RESEND] IB/mad: refactor functions based on the needs of those functions.

From: Ira Weiny <[email protected]>

Resent due to patchworks being reset.

validate_mad, ib_response_mad, and rcv_has_same_class only need the IB header. Refactor these functions as appropriate.

In addition set const for functions which take read only structures.

Added Jason and Sean's Review by.

Ira Weiny (4):
IB/mad: Change validate_mad signature to take const ib_mad_hdr rather
than ib_mad
IB/mad: Change ib_response_mad signature to take const ib_mad_hdr
rather than ib_mad
IB/mad: Clean up rcv_has_same_class
IB/mad: Add const qualifiers to query only functions

 drivers/infiniband/core/mad.c      | 54 +++++++++++++++++++-------------------
 drivers/infiniband/core/mad_priv.h |  4 +--
 drivers/infiniband/core/user_mad.c |  6 ++---
 include/rdma/ib_mad.h              |  4 +--
 4 files changed, 34 insertions(+), 34 deletions(-)
Signature · 6 lines
1.8.2

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