diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-07-07 17:56:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 18:23:46 -0700 |
commit | 0db925af1db5f3dfe1691c35b39496e2baaff9c9 (patch) | |
tree | bb9f827fa001b27f7a902abf174e8f0057c9df81 /include/linux/string.h | |
parent | b84c21572de8a732062eff5592e3c4b3b1793bb8 (diff) | |
download | lwn-0db925af1db5f3dfe1691c35b39496e2baaff9c9.tar.gz lwn-0db925af1db5f3dfe1691c35b39496e2baaff9c9.zip |
[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.h | 2 |
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 } |