mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* IA32 (2.6.9-rc1 - 2004-09-09.21.30) - 2 New warnings (gcc 3.2.2)
@ 2004-09-10 14:18 John Cherry
  2004-09-10 16:27 ` viro
  0 siblings, 1 reply; 2+ messages in thread
From: John Cherry @ 2004-09-10 14:18 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IA32 (2.6.9-rc1 - 2004-09-09.21.30) - 2 New warnings (gcc 3.2.2)
  2004-09-10 14:18 IA32 (2.6.9-rc1 - 2004-09-09.21.30) - 2 New warnings (gcc 3.2.2) John Cherry
@ 2004-09-10 16:27 ` viro
  0 siblings, 0 replies; 2+ messages in thread
From: viro @ 2004-09-10 16:27 UTC (permalink / raw)
  To: John Cherry; +Cc: linux-kernel

On Fri, Sep 10, 2004 at 07:18:45AM -0700, John Cherry wrote:
> drivers/net/tulip/dmfe.c:1808: warning: passing arg 1 of `__le16_to_cpup' from incompatible pointer type
> drivers/net/tulip/dmfe.c:1820: warning: passing arg 1 of `__le32_to_cpup' from incompatible pointer type

Real alignment bugs, BTW.  The first one happens to be OK, but line 1820 is
guaranteed to be misaligned (32bit reads on addresses that differ by 2, so
at least one is guaranteed to fsck up).  The value we are calculating there
looks bogus, while we are at it...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-10 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-10 14:18 IA32 (2.6.9-rc1 - 2004-09-09.21.30) - 2 New warnings (gcc 3.2.2) John Cherry
2004-09-10 16:27 ` viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®