Re: todc_time warings on PPC

From: Tom Rini
Date: Tue Feb 24 2004 - 16:50:54 EST


On Fri, Feb 20, 2004 at 02:12:48PM +0200, Meelis Roos wrote:

> FYI, there are new warning on PPC while compiling 2.6.3+current BK.
>
> arch/ppc/syslib/todc_time.c: In function `todc_m48txx_read_val':
> arch/ppc/syslib/todc_time.c:99: warning: passing arg 2 of `outb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c:100: warning: passing arg 2 of `outb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c:101: warning: passing arg 1 of `inb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c: In function `todc_m48txx_write_val':
> arch/ppc/syslib/todc_time.c:107: warning: passing arg 2 of `outb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c:108: warning: passing arg 2 of `outb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c:109: warning: passing arg 2 of `outb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c: In function `todc_mc146818_read_val':
> arch/ppc/syslib/todc_time.c:117: warning: passing arg 2 of `outb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c:118: warning: passing arg 1 of `inb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c: In function `todc_mc146818_write_val':
> arch/ppc/syslib/todc_time.c:124: warning: passing arg 2 of `outb' makes integer from pointer without a cast
> arch/ppc/syslib/todc_time.c:125: warning: passing arg 2 of `outb' makes integer from pointer without a cast

Yes. This, and some slightly more root-cause issues have been fixed in
the tree Linus pulls from occasionally, and once I grab some more of the
(unrelated to this) ppc64 fixes that ppc32 needs, I'll ask Linus to
pull. Or ask Paul to ask Linus to pull..

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/