libertas and sparce
Holger Schurig
hs4233 at mail.mn-solutions.de
Sat Feb 17 17:20:18 EST 2007
Sparse tells about some problems in libertas:
drivers/net/wireless/libertas/if_usb.c:639:22: warning: context imbalance in 'if_usb_receive' - different lock contexts for basic block
drivers/net/wireless/libertas/ioctl.c:696:10: warning: cast removes address space of expression
drivers/net/wireless/libertas/ioctl.c:728:10: warning: cast removes address space of expression
drivers/net/wireless/libertas/ioctl.c:756:30: warning: cast removes address space of expression
drivers/net/wireless/libertas/ioctl.c:1089:3: warning: cast removes address space of expression
drivers/net/wireless/libertas/ioctl.c:1779:17: warning: incorrect type in assignment (different address spaces)
drivers/net/wireless/libertas/ioctl.c:1779:17: expected void [noderef] *ifru_data<asn:1>
drivers/net/wireless/libertas/ioctl.c:1779:17: got char *<noident>
drivers/net/wireless/libertas/ioctl.c:1810:17: warning: incorrect type in assignment (different address spaces)
drivers/net/wireless/libertas/ioctl.c:1810:17: expected void [noderef] *ifru_data<asn:1>
drivers/net/wireless/libertas/ioctl.c:1810:17: got char *<noident>
drivers/net/wireless/libertas/ioctl.c:1839:17: warning: incorrect type in assignment (different address spaces)
drivers/net/wireless/libertas/ioctl.c:1839:17: expected void [noderef] *ifru_data<asn:1>
drivers/net/wireless/libertas/ioctl.c:1839:17: got char *<noident>
drivers/net/wireless/libertas/ioctl.c:1947:13: warning: cast removes address space of expression
drivers/net/wireless/libertas/ioctl.c:2025:14: warning: cast removes address space of expression
drivers/net/wireless/libertas/ioctl.c:2171:12: warning: cast removes address space of expression
drivers/net/wireless/libertas/ioctl.c:2188:18: warning: incorrect type in assignment (different address spaces)
drivers/net/wireless/libertas/ioctl.c:2188:18: expected void [noderef] *ifru_data<asn:1>
drivers/net/wireless/libertas/ioctl.c:2188:18: got char *<noident>
drivers/net/wireless/libertas/ioctl.c:2192:18: warning: incorrect type in assignment (different address spaces)
drivers/net/wireless/libertas/ioctl.c:2192:18: expected void [noderef] *ifru_data<asn:1>
drivers/net/wireless/libertas/ioctl.c:2192:18: got char *<noident>
drivers/net/wireless/libertas/ioctl.c:2196:18: warning: incorrect type in assignment (different address spaces)
drivers/net/wireless/libertas/ioctl.c:2196:18: expected void [noderef] *ifru_data<asn:1>
drivers/net/wireless/libertas/ioctl.c:2196:18: got char *<noident>
There was another sparce problem, which I fixed in my
cleanup tree.
More information about the libertas-dev
mailing list