Re: (patch-2.4.6) Fix oops with Iomega Clik! (ide-floppy)

From: David Woodhouse (dwmw2@infradead.org)
Date: Sat Jul 14 2001 - 13:49:21 EST


jgarzik@mandrakesoft.com said:
> malloc.h is extra indirection we don't need. IMHO
> /* malloc.h */
> #include <linux/slab.h>
> is a windows interface. Linux wrappers should be kept to a minimum...

Fine. I can see the logic in that.

mv include/linux/slab.h include/linux/malloc.h
perl -pi -e s/_LINUX_SLAB_H/_LINUX_MALLOC_H/ include/linux/malloc.h
cat > include/linux/slab.h <<EOF
#warning Please include malloc.h not slab.h
#include <linux/malloc.h>
EOF

--
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/



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:21 EST