lkml.org 
[lkml]   [2005]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.12-rc2-mm2
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 <pmarques@grupopie.com>

--
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
/**
\
 
 \ /
  Last update: 2005-04-08 17:28    [W:0.063 / U:3.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site