ieee802154: enforce consistent endianness in the 802.15.4 stack
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Fri, 14 Mar 2014 20:23:59 +0000 (21:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Mar 2014 02:15:26 +0000 (22:15 -0400)
commitb70ab2e87f17176d18f67ef331064441a032b5f3
tree634b1482ab909ebe4d62b2a786378ad9584f922a
parent46ef0eb3ea65e7043aac17cb92982be879c65366
ieee802154: enforce consistent endianness in the 802.15.4 stack

Enable sparse warnings about endianness, replace the remaining fields
regarding network operations without explicit endianness annotations
with such that are annotated, and propagate this through the entire
stack.

Uses of ieee802154_addr_sa are not changed yet, this patch is only
concerned with all other fields (such as address filters, operation
parameters and the likes).

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
drivers/net/ieee802154/at86rf230.c
drivers/net/ieee802154/fakehard.c
drivers/net/ieee802154/mrf24j40.c
include/net/ieee802154_netdev.h
include/net/mac802154.h
include/net/nl802154.h
net/ieee802154/6lowpan_rtnl.c
net/ieee802154/Makefile
net/ieee802154/af_ieee802154.c
net/ieee802154/dgram.c
net/ieee802154/nl-mac.c
net/mac802154/Makefile
net/mac802154/ieee802154_dev.c
net/mac802154/mac802154.h
net/mac802154/mac_cmd.c
net/mac802154/mib.c
net/mac802154/wpan.c