Skip to content

Commit

Permalink
[AUDIT] Fix sparse warning about gfp_mask type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Victor Fusco authored and David Woodhouse committed Jul 13, 2005
1 parent ad3f9a2 commit 6c8c8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c8c8ba

Please sign in to comment.