diff --git a/kernel/audit.c b/kernel/audit.c index b683f2b5e86652d03483afaa4ffc95a41d2d961e..518a833b676a20a3ef585e9749d2dfe003269190 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;