netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dgrs: sparse warnings
@ 2007-09-06 12:55 Stephen Hemminger
  2007-09-06 13:30 ` maximilian attems
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2007-09-06 12:55 UTC (permalink / raw)
  To: Al Viro, Jeff Garzik; +Cc: netdev

The dgrs driver is crap and assumes direct access to PCI iomem.

  CHECK   drivers/net/dgrs.c
drivers/net/dgrs.c:314:20: warning: cast removes address space of expression
drivers/net/dgrs.c:330:12: warning: incorrect type in argument 1 (different address spaces)
drivers/net/dgrs.c:330:12:    expected void volatile [noderef] <asn:2>*addr
drivers/net/dgrs.c:330:12:    got void *<noident>
drivers/net/dgrs.c:1003:14: warning: incorrect type in assignment (different address spaces)
drivers/net/dgrs.c:1003:14:    expected char *[usertype] vmem
drivers/net/dgrs.c:1003:14:    got void [noderef] <asn:2>*
drivers/net/dgrs.c:1023:17: warning: incorrect type in argument 1 (different address spaces)
drivers/net/dgrs.c:1023:17:    expected void volatile [noderef] <asn:2>*addr
drivers/net/dgrs.c:1023:17:    got char *[usertype] vmem
drivers/net/dgrs.c:1052:16: warning: incorrect type in argument 1 (different address spaces)
drivers/net/dgrs.c:1052:16:    expected void volatile [noderef] <asn:2>*addr
drivers/net/dgrs.c:1052:16:    got char *[usertype] vmem
drivers/net/dgrs.c:1106:16: warning: incorrect type in argument 1 (different address spaces)
drivers/net/dgrs.c:1106:16:    expected void volatile [noderef] <asn:2>*addr
drivers/net/dgrs.c:1106:16:    got char *[usertype] vmem
drivers/net/dgrs.c:1369:15: warning: incorrect type in argument 1 (different address spaces)
drivers/net/dgrs.c:1369:15:    expected void volatile [noderef] <asn:2>*addr
drivers/net/dgrs.c:1369:15:    got char *[usertype] vmem
drivers/net/dgrs.c:1371:12: warning: incorrect type in argument 1 (different address spaces)
drivers/net/dgrs.c:1371:12:    expected void volatile [noderef] <asn:2>*addr
drivers/net/dgrs.c:1371:12:    got unsigned char [usertype] *<noident>

Perhaps we should just mark it as BROKEN in Kconfig

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

end of thread, other threads:[~2007-09-06 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06 12:55 dgrs: sparse warnings Stephen Hemminger
2007-09-06 13:30 ` maximilian attems
2007-09-06 13:50   ` [patch] dgrs removal maximilian attems
2007-09-06 14:16     ` maximilian attems
2007-09-06 14:24       ` maximilian attems

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).