commit | 83a1d2288952db16150a09f3d40284ffc11fc063 | [log] [tgz] |
---|---|---|
author | Ira Weiny <ira.weiny@intel.com> | Sat Jun 06 14:38:23 2015 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Fri Jun 12 14:49:16 2015 -0400 |
tree | 9a2ad749c9cfd476585a5caa9a40034cb3e2855e | |
parent | d94bd2667a78ecbc64296588a8272e97a61dbafd [diff] |
IB/mad cleanup: Generalize processing of MAD data ib_find_send_mad only needs access to the MAD header not the full IB MAD. Change the local variable to ib_mad_hdr and change the corresponding cast. This allows for clean usage of this function with both IB and OPA MADs because OPA MADs carry the same header as IB MADs. Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>