IB/mad: Change ib_response_mad signature arguments
authorIra Weiny <ira.weiny@intel.com>
Fri, 8 May 2015 18:27:22 +0000 (14:27 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 20 May 2015 16:34:10 +0000 (12:34 -0400)
commit96909308542006215980874ce496101ea51aa031
tree8e4a4f7dad711a2f1eceefefeee83bd69046447d
parent77f60833b8e75c72e133c38a33d12ecf0689206a
IB/mad: Change ib_response_mad signature arguments

ib_response_mad only needs read access to the MAD header, not write access
to the entire mad struct, so replace struct ib_mad with const struct
ib_mad_hdr

Reviewed-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/user_mad.c
include/rdma/ib_mad.h