From: Ira Weiny Date: Sat, 6 Jun 2015 18:38:23 +0000 (-0400) Subject: IB/mad cleanup: Generalize processing of MAD data X-Git-Tag: omap-for-v4.2/fixes-rc1^2~152^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83a1d2288952db16150a09f3d40284ffc11fc063;p=pandora-kernel.git 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 Signed-off-by: Doug Ledford --- Reading git-diff-tree failed