Skip to contentSkip to conversation

kernel/audit.c: fix sparse warnings (__nocast type)

PATCH In review [email protected] 1 participant 1 message Jul 7, 2005 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 kernel/audit.c: fix sparse warnings (__nocast type)

From: Victor Fusco <[email protected]>

Fix the sparse warning "implicit cast to nocast type"

File/Subsystem: kernel/audit.c

---
 audit.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
kernel/audit.c +1 -1
Index: quilt/kernel/audit.c
===================================================================
@@ -560,7 +560,7 @@ static void audit_buffer_free(struct aud
 }
 
 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;

--