IB/mad: refactor functions based on the needs of those functions.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/24 patches 1 replyIn review
- v1 posting 1/23 patches 2 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | IB/mad: Change validate_mad signature to take const ib_mad_hdr rather than ib_maddrivers/ | +6 | 0 replies | |
| 2/4 | IB/mad: Change ib_response_mad signature to take const ib_mad_hdr rather than ib_maddrivers/ drivers/ include/ | +14 | 0 replies | |
| 3/4 | IB/mad: Clean up rcv_has_same_classdrivers/ | +3 | 0 replies | |
| 4/4 | IB/mad: Add const qualifiers to query only functionsdrivers/ drivers/ include/ | +11 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Jason Gunthorpe | Sean Hefty |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | R-b |
| 3/4 | R-b | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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