lkml.org 
[lkml]   [2001]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: (patch-2.4.6) Fix oops with Iomega Clik! (ide-floppy)
Date

cw@f00f.org said:
> If it changes vmlinux by a single byte, I might agree.... all it does
> is close off and older depricated API.

Why is the sane API deprecated in favour of the implementation-specific one?

If we must standardise on a single header file to include, surely we should
do it the other way round?

Index: include/linux/slab.h
===================================================================
RCS file: /inst/cvs/linux/include/linux/slab.h,v
retrieving revision 1.1.1.1.2.12
diff -u -r1.1.1.1.2.12 slab.h
--- include/linux/slab.h 2001/06/08 22:41:51 1.1.1.1.2.12
+++ include/linux/slab.h 2001/07/14 18:08:37
@@ -4,6 +4,10 @@
* (markhe@nextd.demon.co.uk)
*/

+#ifndef _LINUX_MALLOC_H
+#warning Please do not include linux/slab.h directly, use linux/malloc.h instead.
+#endif
+
#if !defined(_LINUX_SLAB_H)
#define _LINUX_SLAB_H


--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.094 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site