2004-09-10 16:11:40

by John Cherry

[permalink] [raw]
Subject: 6 New compile/sparse warnings (overnight build)

Compiler: gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Arch: i386


Summary:
New warnings = 6

New warnings:
-------------
drivers/net/tulip/dmfe.c:1808:42: warning: incorrect type in argument 1
(different type sizes)
drivers/net/tulip/dmfe.c:1808:42: expected unsigned short const
[usertype] *p
drivers/net/tulip/dmfe.c:1808:42: got char *srom

drivers/net/tulip/dmfe.c:1808: warning: passing arg 1 of
`__le16_to_cpup' from incompatible pointer type

drivers/net/tulip/dmfe.c:1820:33: warning: incorrect type in argument 1
(different type sizes)
drivers/net/tulip/dmfe.c:1820:33: expected unsigned int const
[usertype] *p
drivers/net/tulip/dmfe.c:1820:33: got char *srom

drivers/net/tulip/dmfe.c:1820:59: warning: incorrect type in argument 1
(different type sizes)
drivers/net/tulip/dmfe.c:1820:59: expected unsigned int const
[usertype] *p
drivers/net/tulip/dmfe.c:1820:59: got char *srom

drivers/net/tulip/dmfe.c:1820: warning: passing arg 1 of
`__le32_to_cpup' from incompatible pointer type

fs/reiserfs/do_balan.c:463:8: warning: too long token expansion

John



2004-09-10 16:36:04

by Al Viro

[permalink] [raw]
Subject: Re: 6 New compile/sparse warnings (overnight build)

On Fri, Sep 10, 2004 at 09:05:57AM -0700, John Cherry wrote:
> New warnings:
> -------------
> drivers/net/tulip/dmfe.c

See reply re cc(1) warnings in the same place.

> fs/reiserfs/do_balan.c:463:8: warning: too long token expansion

Heh. 2400-odd bytes coming from a single macro...