Re: [PATCH] Fix 4 compile time warnings in 2.5.53

William Lee Irwin III (wli@holomorphy.com)
Tue, 24 Dec 2002 10:24:58 -0800


On Tue, Dec 24, 2002 at 09:36:43AM -0800, Martin J. Bligh wrote:
> Fix the following warnings:
> drivers/serial/core.c: In function `uart_get_divisor':
> drivers/serial/core.c:390: warning: `quot' might be used uninitialized in
> this function

This is a (harmless) toolchain problem. Upgrading compilers (or patching
your current compiler) fixes it. I've posted a "fix" for this before.

On Tue, Dec 24, 2002 at 09:36:43AM -0800, Martin J. Bligh wrote:
> net/ipv4/route.c: In function `rt_cache_seq_stop':
> net/ipv4/route.c:279: warning: unused variable `st'

Fair enough.

On Tue, Dec 24, 2002 at 09:36:43AM -0800, Martin J. Bligh wrote:
> drivers/net/starfire.c: In function `netdev_close':
> drivers/net/starfire.c:1851: warning: unsigned int format, different type
> arg (arg 2)
> drivers/net/starfire.c:1858: warning: unsigned int format, different type
> arg (arg 2)

Hmm, I thought I got this one into jgarzik's tree. I posted a fix for this
one too.

On Tue, Dec 24, 2002 at 09:36:43AM -0800, Martin J. Bligh wrote:
> arch/i386/kernel/smpboot.c:691: warning: `wakeup_secondary_via_INIT'
> defined but not used
> My build is now eerily quiet.

This one's all you. =)

Bill
-
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/