mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.4.21-BK] Eliminate warning in drivers/usb/hc_sl811.c
@ 2002-12-10  1:48 Marc-Christian Petersen
  0 siblings, 0 replies; only message in thread
From: Marc-Christian Petersen @ 2002-12-10  1:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marcelo Tosatti

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

Hi Marcelo,

compile warning is:
 #warning linux/malloc.h is deprecated, use linux/slab.h instead.

attached patch uses linux/slab.h instead, as adviced by above ;)

ciao, Marc

[-- Attachment #2: malloc-deprecated-slab-instead.patch --]
[-- Type: text/x-diff, Size: 376 bytes --]

--- linux-old/drivers/usb/hc_sl811.c	2002-12-05 18:54:27.000000000 +0100
+++ linux-wolk/drivers/usb/hc_sl811.c	2002-12-10 02:43:44.000000000 +0100
@@ -28,7 +28,7 @@
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/sched.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/init.h>
 #include <linux/smp_lock.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-10  1:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-10  1:48 [PATCH 2.4.21-BK] Eliminate warning in drivers/usb/hc_sl811.c Marc-Christian Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®