mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
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>
This commit is contained in:
parent
cc40cc56f4
commit
1612454132
@ -116,7 +116,7 @@ struct rt2x00dump_hdr {
|
||||
|
||||
__le16 chip_rt;
|
||||
__le16 chip_rf;
|
||||
__le32 chip_rev;
|
||||
__le16 chip_rev;
|
||||
|
||||
__le16 type;
|
||||
__u8 queue_index;
|
||||
|
Loading…
Reference in New Issue
Block a user