2003-07-16 20:17:07

by Christian Axelsson

[permalink] [raw]
Subject: [2.6.0-test1-mm1] Compile varnings

Here is an i2c related warning:

CC drivers/i2c/i2c-dev.o
drivers/i2c/i2c-dev.c: In function `show_dev':
drivers/i2c/i2c-dev.c:121: warning: unsigned int format, different type
arg (arg 3)

Note that this one is still here:

AS arch/i386/boot/setup.o
arch/i386/boot/setup.S: Assembler messages:
arch/i386/boot/setup.S:165: Warning: value 0x37ffffff truncated to
0x37ffffff

--
Christian Axelsson
[email protected]


2003-07-16 21:54:03

by Rudolf Thomas

[permalink] [raw]
Subject: Re: [2.6.0-test1-mm1] Compile varnings

> Note that this one is still here:
>
> AS arch/i386/boot/setup.o
> arch/i386/boot/setup.S: Assembler messages:
> arch/i386/boot/setup.S:165: Warning: value 0x37ffffff truncated to
> 0x37ffffff

I believe this is a bug in the assembler (binutils)...

Rudo.

2003-07-19 01:28:34

by Greg KH

[permalink] [raw]
Subject: Re: [2.6.0-test1-mm1] Compile varnings

On Wed, Jul 16, 2003 at 10:31:42PM +0200, Christian Axelsson wrote:
> Here is an i2c related warning:
>
> CC drivers/i2c/i2c-dev.o
> drivers/i2c/i2c-dev.c: In function `show_dev':
> drivers/i2c/i2c-dev.c:121: warning: unsigned int format, different type
> arg (arg 3)

I've posted a patch to fix this warning. Look in the archives.

thanks,

greg k-h