Re: 2.6.12-rc2-mm2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Dittmer wrote:
Andrew Morton wrote:

create-a-kstrdup-library-function.patch
 create a kstrdup library function

create-a-kstrdup-library-function-fixes.patch
 create-a-kstrdup-library-function-fixes

Oops, forgot to include slab.h. I guess the other #include's were including it somewhere down the line on x86, so it went unnoticed :(

The attached patch should fix this.

[PATCH] create-a-kstrdup-library-function-fix-include-slab

Signed-off-by: Paulo Marques <[email protected]>

--
Paulo Marques - www.grupopie.com

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)
--- ./lib/string.c.orig	2005-04-08 16:07:14.000000000 +0100
+++ ./lib/string.c	2005-04-08 16:08:29.000000000 +0100
@@ -23,6 +23,7 @@
 #include <linux/string.h>
 #include <linux/ctype.h>
 #include <linux/module.h>
+#include <linux/slab.h>
 
 #ifndef __HAVE_ARCH_STRNICMP
 /**

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux