OSDN Git Service

IB/mad cleanup: Clean up function params -- find_mad_agent
authorIra Weiny <ira.weiny@intel.com>
Sat, 6 Jun 2015 18:38:22 +0000 (14:38 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 12 Jun 2015 18:49:16 +0000 (14:49 -0400)
commitd94bd2667a78ecbc64296588a8272e97a61dbafd
tree26ebacd959f57aeba1b63650e12cab4f84595b1b
parent4b664c4355b251a142d9d57d0ca0298b497f8428
IB/mad cleanup: Clean up function params -- find_mad_agent

find_mad_agent only needs read only access to the MAD header.  Update the
ib_mad pointer to be const ib_mad_hdr.  Adjust call tree.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c