Skip to content

Commit

Permalink
rt2x00: correct sparse warning in rt2x00debug.c
Browse files Browse the repository at this point in the history
  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>
  • Loading branch information
John W. Linville committed Jul 20, 2010
1 parent cc40cc5 commit 1612454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/rt2x00/rt2x00dump.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ struct rt2x00dump_hdr {

__le16 chip_rt;
__le16 chip_rf;
__le32 chip_rev;
__le16 chip_rev;

__le16 type;
__u8 queue_index;
Expand Down

0 comments on commit 1612454

Please sign in to comment.