[AUDIT] Fix sparse warning about gfp_mask type
authorVictor Fusco <victor@cetuc.puc-rio.br>
Wed, 13 Jul 2005 21:26:57 +0000 (22:26 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Wed, 13 Jul 2005 21:26:57 +0000 (22:26 +0100)
Fix the sparse warning "implicit cast to nocast type"

Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
kernel/audit.c

index b683f2b..518a833 100644 (file)
@@ -564,7 +564,7 @@ static void audit_buffer_free(struct audit_buffer *ab)
 }
 
 static struct audit_buffer * audit_buffer_alloc(struct audit_context *ctx,
-                                               int gfp_mask, int type)
+                                               unsigned int __nocast gfp_mask, int type)
 {
        unsigned long flags;
        struct audit_buffer *ab = NULL;