Skip to contentSkip to conversation

IB/core: Move SM class defines from ib_mad.h to ib_smi.h

PATCH Applied [email protected] 2 participants 2 messages Sep 3, 2015 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

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.

Fixes d4ab347005fb ("IB/core: Add core header changes needed for OPA")

---
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
index f42bd0f47577..22e356ca8058 100644
@@ -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

Applied
#2 lore raw
Quoted 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.h to be used by both qib and hfi1. They should have been moved to ib_smi.h instead.

Quoted 7 lines
Fixes d4ab347005fb ("IB/core: Add core header changes needed for OPA")

---
Changes from V1:
Fix Nits from Hal

Thanks, applied.

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD