Skip to contentSkip to conversation

infiniband: qib: Missing linux/slab.h include

PATCH In review David Miller 2 participants 4 messages Aug 5, 2010 3 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 infiniband: qib: Missing linux/slab.h include

---

Without this I'm getting build errors with Linus's current tree. Apologies if this is already fixed in the RDMA git tree.

drivers/infiniband/hw/qib/qib.h +1 -0
index 3593983..312ca9a 100644
@@ -45,6 +45,7 @@
 #include <linux/mutex.h>
 #include <linux/list.h>
 #include <linux/scatterlist.h>
+#include <linux/slab.h>
 #include <linux/io.h>
 #include <linux/fs.h>
 #include <linux/completion.h>

--
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): 20100804.225552.241946831.davem-fT/PcQaiUtIeIZ0/[email protected]

#2 lore raw

drivers/infiniband/hw/qib/qib.h line 48

Quoted 12 lines

Without this I'm getting build errors with Linus's current tree. Apologies if this is already fixed in the RDMA git tree.

drivers/infiniband/hw/qib/qib.h +1 -0
index 3593983..312ca9a 100644
@@ -45,6 +45,7 @@
 #include <linux/mutex.h>
 #include <linux/list.h>
 #include <linux/scatterlist.h>
+#include <linux/slab.h>

No objection to adding this and I will include it for my next pull. But out of curiousity what arch are you seeing this on? I'm not seeing any problems on x86 and I haven't heard any complaints about -next so I'm curious what the error you're seeing is.

Signature · 6 lines
Roland Dreier <[email protected]> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
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): adafwyt58ft.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org

#4 lore raw

From: Roland Dreier <[email protected]>
Date: Thu, 05 Aug 2010 09:29:58 -0700

Quoted 4 lines

No objection to adding this and I will include it for my next pull. But out of curiousity what arch are you seeing this on? I'm not seeing any problems on x86 and I haven't heard any complaints about -next so I'm curious what the error you're seeing is.

sparc64 allmodconfig
--
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): 20100805.120946.45921714.davem-fT/PcQaiUtIeIZ0/[email protected]

#6 lore raw
Quoted 6 lines
Quoted 4 lines

No objection to adding this and I will include it for my next pull. But out of curiousity what arch are you seeing this on? I'm not seeing any problems on x86 and I haven't heard any complaints about -next so I'm curious what the error you're seeing is.

sparc64 allmodconfig

Got it. Interestingly x86, powerpc and ia64 all include linux/slab.h via asm/pci.h (for no very obvious reason that I can see from a quick look at what their asm/pci.h have), which is why I missed this.

anyway, applied your patch and will pass on to Linus shortly.

Signature · 6 lines
Roland Dreier <[email protected]> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
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