aboutsummaryrefslogtreecommitdiff
path: root/drivers/message/i2o/i2o_block.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-10-22 14:51:37 +0200
committerJohn W. Linville <linville@tuxdriver.com>2007-10-26 00:14:29 -0400
commitddd68587d0470498eb161de37b8f9fb5c48786a3 (patch)
tree1b1576ed774d34b7575e492195af75cfe3894668 /drivers/message/i2o/i2o_block.c
parent31c7cecb616e499dd30703959710aebeee3f9af1 (diff)
[PATCH] mac80211: fix printk warning on 64-bit
My AID message patch introduced a warning on 64-bit machines because ~ extends to unsigned long: | net/mac80211/ieee80211_sta.c: In function ‘ieee80211_rx_mgmt_assoc_resp’: | net/mac80211/ieee80211_sta.c:1187: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘long unsigned int’ This fixes it by explicitly casting the result to u16 (which 'aid' is). Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/message/i2o/i2o_block.c')
0 files changed, 0 insertions, 0 deletions