mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
18cd9021ea
le16_to_cpu() accepts argument of type __le16 and cpu_to_le16() returns an argument of type __le16. This patch fixes: (a) the type of the variable that end's up getting return from cpu_to_le16(). (b) the member types of struct hfa384x_host_scan_request_data, struct hfa384x_bytestr32 and struct hfa384x_hscan_result_sub. The following type mismatch warnings reported by sparse have been fixed: warning: incorrect type in assignment (different base types) warning: cast to restricted __le16 Signed-off-by: Suniel Mahesh <sunil.m@techveda.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
cfg80211.c | ||
hfa384x_usb.c | ||
hfa384x.h | ||
Kconfig | ||
Makefile | ||
p80211conv.c | ||
p80211conv.h | ||
p80211hdr.h | ||
p80211ioctl.h | ||
p80211metadef.h | ||
p80211metastruct.h | ||
p80211mgmt.h | ||
p80211msg.h | ||
p80211netdev.c | ||
p80211netdev.h | ||
p80211req.c | ||
p80211req.h | ||
p80211types.h | ||
p80211wep.c | ||
prism2fw.c | ||
prism2mgmt.c | ||
prism2mgmt.h | ||
prism2mib.c | ||
prism2sta.c | ||
prism2usb.c | ||
README |
TODO: - checkpatch.pl cleanups - sparse warnings - move to use the in-kernel wireless stack Please send any patches or complaints about this driver to Greg Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless kernel developers about it, they want nothing to do with it.