diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-20 14:21:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-20 16:49:41 -0400 |
commit | 16124541321e3c4030973b34b3f013605f052679 (patch) | |
tree | 81e3d80c0fa226e90001e0a15d5724e6bddf06d9 | |
parent | cc40cc56f4e271c51ba5b7cf9d7ae5f955dc7e2d (diff) |
rt2x00: correct sparse warning in rt2x00debug.c
CHECK drivers/net/wireless/rt2x00/rt2x00debug.c
drivers/net/wireless/rt2x00/rt2x00debug.c:193:28: warning: incorrect type in assignment (different base types)
drivers/net/wireless/rt2x00/rt2x00debug.c:193:28: expected restricted __le32 [usertype] chip_rev
drivers/net/wireless/rt2x00/rt2x00debug.c:193:28: got restricted __le16 [usertype] <noident>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dump.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dump.h b/drivers/net/wireless/rt2x00/rt2x00dump.h index 6df2e0b746b8..5d6e0b83151f 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dump.h +++ b/drivers/net/wireless/rt2x00/rt2x00dump.h | |||
@@ -116,7 +116,7 @@ struct rt2x00dump_hdr { | |||
116 | 116 | ||
117 | __le16 chip_rt; | 117 | __le16 chip_rt; |
118 | __le16 chip_rf; | 118 | __le16 chip_rf; |
119 | __le32 chip_rev; | 119 | __le16 chip_rev; |
120 | 120 | ||
121 | __le16 type; | 121 | __le16 type; |
122 | __u8 queue_index; | 122 | __u8 queue_index; |