Messages in this thread Patch in this message | | | Date | Thu, 07 Jul 2005 23:31:39 +0200 | From | domen@coderock ... | Subject | [patch 2/4] kernel/audit.c: fix sparse warnings (__nocast type) |
| |
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; -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |