Skip to content
Snippets Groups Projects
Commit dd0fc66f authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] gfp flags annotations - part 1


 - added typedef unsigned int __nocast gfp_t;

 - replaced __nocast uses for gfp flags with gfp_t - it gives exactly
   the same warnings as far as sparse is concerned, doesn't change
   generated code (from gcc point of view we replaced unsigned int with
   typedef) and documents what's going on far better.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3b0e77bd
No related branches found
No related tags found
Loading
Showing
with 25 additions and 28 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment