Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c8c8ba5 authored by Victor Fusco's avatar Victor Fusco Committed by David Woodhouse
Browse files

[AUDIT] Fix sparse warning about gfp_mask type



Fix the sparse warning "implicit cast to nocast type"

Signed-off-by: default avatarVictor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent ad3f9a22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;