Skip to contentSkip to conversation

6 New compile/sparse warnings (overnight build)

DISCUSSION John Cherry 2 participants 2 messages Sep 10, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · John Cherry

New warnings:
-------------
drivers/net/tulip/dmfe.c

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

Quoted 1 line

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

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