lkml.org 
[lkml]   [2002]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2.4.21-BK] Eliminate warning in drivers/usb/hc_sl811.c
Date
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--- 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>
\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.071 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site