Skip to contentSkip to conversation

usb/bcma: Add missing #include <linux/slab.h>

PATCH In review Geert Uytterhoeven 3 participants 4 messages Apr 23, 2012 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 usb/bcma: Add missing #include <linux/slab.h>

m68k/allmodconfig:

drivers/usb/host/bcma-hcd.c: In function ‘bcma_hcd_probe’:
drivers/usb/host/bcma-hcd.c:234: error: implicit declaration of function ‘kzalloc’ drivers/usb/host/bcma-hcd.c:234: warning: assignment makes pointer from integer without a cast drivers/usb/host/bcma-hcd.c:264: error: implicit declaration of function ‘kfree’

---
http://kisskb.ellerman.id.au/kisskb/buildresult/6167030/

---
 drivers/usb/host/bcma-hcd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/usb/host/bcma-hcd.c +1 -0
index 0b35d42..443da21 100644
@@ -22,6 +22,7 @@
 #include <linux/delay.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
+#include <linux/slab.h>
 #include <linux/usb/ehci_pdriver.h>
 #include <linux/usb/ohci_pdriver.h>
 
Signature · 6 lines
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

PATCH 2/2 usb/ssb: Add missing #include <linux/slab.h>

m68k/allmodconfig:

drivers/usb/host/ssb-hcd.c: In function ‘ssb_hcd_probe’:
drivers/usb/host/ssb-hcd.c:170: error: implicit declaration of function ‘kzalloc’ drivers/usb/host/ssb-hcd.c:170: warning: assignment makes pointer from integer without a cast drivers/usb/host/ssb-hcd.c:205: error: implicit declaration of function ‘kfree’

---
http://kisskb.ellerman.id.au/kisskb/buildresult/6167030/

---
 drivers/usb/host/ssb-hcd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/usb/host/ssb-hcd.c +1 -0
index c2e7343..c2a29fa 100644
@@ -22,6 +22,7 @@
 #include <linux/delay.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
+#include <linux/slab.h>
 #include <linux/usb/ehci_pdriver.h>
 #include <linux/usb/ohci_pdriver.h>
 
Signature · 1 line
1.7.0.4

A message that is not in the archive (sent off-list or not yet received): 1335210932-9565-2-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org

#3 lore raw

Re: [PATCH 2/2] usb/ssb: Add missing #include <linux/slab.h>

Quoted 8 lines · Geert Uytterhoeven

m68k/allmodconfig:

drivers/usb/host/ssb-hcd.c: In function ‘ssb_hcd_probe’:
drivers/usb/host/ssb-hcd.c:170: error: implicit declaration of function ‘kzalloc’ drivers/usb/host/ssb-hcd.c:170: warning: assignment makes pointer from integer without a cast drivers/usb/host/ssb-hcd.c:205: error: implicit declaration of function ‘kfree’

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" 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): 1335210932-9565-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org

#5 lore raw
Quoted 8 lines · Geert Uytterhoeven

m68k/allmodconfig:

drivers/usb/host/bcma-hcd.c: In function ‘bcma_hcd_probe’:
drivers/usb/host/bcma-hcd.c:234: error: implicit declaration of function ‘kzalloc’ drivers/usb/host/bcma-hcd.c:234: warning: assignment makes pointer from integer without a cast drivers/usb/host/bcma-hcd.c:264: error: implicit declaration of function ‘kfree’

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html