libertas: endianness fixes
Recently I found that that sparse by default doesn't endianness checks. So I changed my compilation habit to be make modules C=1 SUBDIRS=drivers/net/wireless/libertas CHECKFLAGS="-D__CHECK_ENDIAN__" so that I get the little-endian checks from sparse as well. That showed up a good bunch of problems. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
David S. Miller
parent
1723047d67
commit
c2df2efe96
@@ -419,13 +419,13 @@ struct cmd_ds_802_11_rf_antenna {
|
||||
};
|
||||
|
||||
struct cmd_ds_802_11_monitor_mode {
|
||||
u16 action;
|
||||
u16 mode;
|
||||
__le16 action;
|
||||
__le16 mode;
|
||||
};
|
||||
|
||||
struct cmd_ds_set_boot2_ver {
|
||||
u16 action;
|
||||
u16 version;
|
||||
__le16 action;
|
||||
__le16 version;
|
||||
};
|
||||
|
||||
struct cmd_ds_802_11_ps_mode {
|
||||
|
Reference in New Issue
Block a user