net: sierra: shut up sparse restricted type warnings
authorBjørn Mork <bjorn@mork.no>
Thu, 25 Oct 2012 22:15:40 +0000 (22:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2012 23:09:02 +0000 (19:09 -0400)
commita932657f51eadb8280166e82dc7034dfbff3985a
tree04f7d48b185ee9e5d7365ca8e4bf84f9d54c02d9
parent7b1e0cba0372c011fc9128a772cf668e70ba9219
net: sierra: shut up sparse restricted type warnings

Removes the warnings

 drivers/net/usb/sierra_net.c:343:45: warning: incorrect type in assignment (different base types)
 drivers/net/usb/sierra_net.c:343:45:    expected unsigned short [unsigned] [short] [usertype] <noident>
 drivers/net/usb/sierra_net.c:343:45:    got restricted __be16 [usertype] <noident>

and

 drivers/net/usb/sierra_net.c:658:18: warning: cast to restricted __le16

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/sierra_net.c