From: Victor Fusco Date: Wed, 13 Jul 2005 21:26:57 +0000 (+0100) Subject: [AUDIT] Fix sparse warning about gfp_mask type X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6c8c8ba5d7e31b37d0184c388183a6039a672417;p=linux-beck.git [AUDIT] Fix sparse warning about gfp_mask type Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- diff --git a/kernel/audit.c b/kernel/audit.c index b683f2b5e866..518a833b676a 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -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;