The patch titled
char/n_tty: fix sparse warnings (__nocast type)
has been added to the -mm tree. Its filename is
char-n_tty-fix-sparse-warnings-__nocast-type.patch
Patches currently in -mm which might be from [EMAIL PROTECTED] are
mm-slab-fix-sparse-warnings.patch
kernel-auditc-fix-sparse-warnings-__nocast-type.patch
char-n_tty-fix-sparse-warnings-__nocast-type.patch
From: Victor Fusco <[EMAIL PROTECTED]>
Fix the sparse warning "implicit cast to nocast type"
Signed-off-by: Victor Fusco <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/char/n_tty.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/char/n_tty.c~char-n_tty-fix-sparse-warnings-__nocast-type
drivers/char/n_tty.c
--- 25/drivers/char/n_tty.c~char-n_tty-fix-sparse-warnings-__nocast-type
Fri Jul 8 16:14:11 2005
+++ 25-akpm/drivers/char/n_tty.c Fri Jul 8 16:14:11 2005
@@ -62,7 +62,7 @@
static inline unsigned char *alloc_buf(void)
{
- int prio = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL;
+ unsigned int prio = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL;
if (PAGE_SIZE != N_TTY_BUF_SIZE)
return kmalloc(N_TTY_BUF_SIZE, prio);
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html