Re: [PATCH] x86: early_printk.c trivial sparse fixes

From: Ingo Molnar
Date: Mon Aug 18 2008 - 20:15:16 EST



* Harvey Harrison <harvey.harrison@xxxxxxxxx> wrote:

> arch/x86/kernel/early_printk.c:404:13: warning: incorrect type in assignment (different base types)
> arch/x86/kernel/early_printk.c:404:13: expected restricted __le16 [assigned] [usertype] wValue
> arch/x86/kernel/early_printk.c:404:13: got int [signed] value
> arch/x86/kernel/early_printk.c:405:13: warning: incorrect type in assignment (different base types)
> arch/x86/kernel/early_printk.c:405:13: expected restricted __le16 [assigned] [usertype] wIndex
> arch/x86/kernel/early_printk.c:405:13: got int [signed] index
> arch/x86/kernel/early_printk.c:406:14: warning: incorrect type in assignment (different base types)
> arch/x86/kernel/early_printk.c:406:14: expected restricted __le16 [assigned] [usertype] wLength
> arch/x86/kernel/early_printk.c:406:14: got int [signed] size
> arch/x86/kernel/early_printk.c:845:16: warning: Using plain integer as NULL pointer
> arch/x86/kernel/early_printk.c:992:13: warning: symbol 'enable_debug_console' was not declared. Should it be static?
>
> Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>

applied to tip/x86/early-printk - thanks Harvey!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/