summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorVictor Fusco <victor@cetuc.puc-rio.br>2005-07-13 22:26:57 +0100
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-13 22:26:57 +0100
commit6c8c8ba5d7e31b37d0184c388183a6039a672417 (patch)
treea655804389553060311bfae595be7ee7f97a1b31 /kernel/audit.c
parentad3f9a2238e401a1fc493b8c91341f9e57940eda (diff)
downloadlinux-6c8c8ba5d7e31b37d0184c388183a6039a672417.tar.gz
linux-6c8c8ba5d7e31b37d0184c388183a6039a672417.tar.bz2
linux-6c8c8ba5d7e31b37d0184c388183a6039a672417.zip
[AUDIT] Fix sparse warning about gfp_mask type
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>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
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;