IB/core: Move SM class defines from ib_mad.h to ib_smi.h
PATCH v2 2/2 IB/core: Move SM class defines from ib_mad.h to ib_smi.h
From: Ira Weiny <[email protected]>
When the hfi1 driver was added these definitions were moved from the qib driver to ib_mad.h to be used by both qib and hfi1. They should have been moved to ib_smi.h instead.
---
Changes from V1:
Fix Nits from Hal
drivers/infiniband/hw/qib/qib_ruc.c | 1 + include/rdma/ib_mad.h | 45 ----------------------------------- include/rdma/ib_smi.h | 47 +++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 45 deletions(-)
drivers/infiniband/hw/qib/qib_ruc.c +1 -0
@@ -32,6 +32,7 @@*/ #include <linux/spinlock.h> +#include <rdma/ib_smi.h> #include "qib.h" #include "qib_mad.h"
include/rdma/ib_mad.h +0 -45
63 lines not on this page · raw message
include/rdma/ib_smi.h +47 -0
57 lines not on this page · raw message
Signature · 6 lines
1.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1441304190-29212-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Doug Ledford
AppliedQuoted 6 lines · On 09/03/2015 02:16 PM, [email protected] wrote:
From: Ira Weiny <[email protected]>
When the hfi1 driver was added these definitions were moved from the qib driver to
ib_mad.hto be used by both qib and hfi1. They should have been moved toib_smi.hinstead.
Quoted 7 lines
Fixes d4ab347005fb ("IB/core: Add core header changes needed for OPA")Signed-off-by Ira Weiny <[email protected]>---
Changes from V1:
Fix Nits from Hal
Thanks, applied.
Signature · 2 lines
Doug Ledford <[email protected]> GPG KeyID: 0E572FDD