提交 6c8c8ba5 编写于 作者: V Victor Fusco 提交者: David Woodhouse

[AUDIT] Fix sparse warning about gfp_mask type

Fix the sparse warning "implicit cast to nocast type"
Signed-off-by: NVictor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: NDomen Puncer <domen@coderock.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 ad3f9a22
...@@ -564,7 +564,7 @@ static void audit_buffer_free(struct audit_buffer *ab) ...@@ -564,7 +564,7 @@ static void audit_buffer_free(struct audit_buffer *ab)
} }
static struct audit_buffer * audit_buffer_alloc(struct audit_context *ctx, 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; unsigned long flags;
struct audit_buffer *ab = NULL; struct audit_buffer *ab = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册