* [patch 2/4] kernel/audit.c: fix sparse warnings (__nocast type)
@ 2005-07-07 21:31 domen
0 siblings, 0 replies; only message in thread
From: domen @ 2005-07-07 21:31 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, Victor Fusco, domen
[-- Attachment #1: sparse-kernel_audit --]
[-- Type: text/plain, Size: 750 bytes --]
From: Victor Fusco <victor@cetuc.puc-rio.br>
Fix the sparse warning "implicit cast to nocast type"
File/Subsystem: kernel/audit.c
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
audit.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: quilt/kernel/audit.c
===================================================================
--- quilt.orig/kernel/audit.c
+++ 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;
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-07 21:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 21:31 [patch 2/4] kernel/audit.c: fix sparse warnings (__nocast type) domen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®