[PATCH 0/3] IB/mad: refactor functions based on the needs of those functions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ira Weiny <ira.weiny@xxxxxxxxx>

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

Ira Weiny (3):
  IB/mad: Change validate_mad signature to take ib_mad_hdr rather than ib_mad
  IB/mad: Change ib_response_mad signature to take ib_mad_hdr rather than ib_mad
  IB/mad: Change cast in rcv_has_same_class

 drivers/infiniband/core/mad.c      | 34 +++++++++++++++++-----------------
 drivers/infiniband/core/user_mad.c |  6 +++---
 include/rdma/ib_mad.h              |  2 +-
 3 files changed, 21 insertions(+), 21 deletions(-)

-- 
1.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux