lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20070906135547.13bb3326@oldman> Date: Thu, 6 Sep 2007 13:55:47 +0100 From: Stephen Hemminger <shemminger@...ux-foundation.org> To: Al Viro <viro@....linux.org.uk>, Jeff Garzik <jeff@...zik.org> Cc: netdev@...r.kernel.org Subject: dgrs: sparse warnings 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 - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists