summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-07-08 04:56:58 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 05:23:46 +0400
commit0db925af1db5f3dfe1691c35b39496e2baaff9c9 (patch)
treebb9f827fa001b27f7a902abf174e8f0057c9df81 /include/linux/string.h
parentb84c21572de8a732062eff5592e3c4b3b1793bb8 (diff)
downloadlinux-0db925af1db5f3dfe1691c35b39496e2baaff9c9.tar.xz
[PATCH] propagate __nocast annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/string.h')
-rw-r--r--include/linux/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index 93994c613095..dab2652acbd8 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -88,7 +88,7 @@ extern int memcmp(const void *,const void *,__kernel_size_t);
extern void * memchr(const void *,int,__kernel_size_t);
#endif
-extern char *kstrdup(const char *s, int gfp);
+extern char *kstrdup(const char *s, unsigned int __nocast gfp);
#ifdef __cplusplus
}