]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: correct sparse warnings
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Sep 2010 19:40:12 +0000 (15:40 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:46:04 +0000 (15:46 -0400)
commitaf04d38436f879057deaaf02dc2a531bf94af98c
tree19e86063e1a272aa539981ae64f8645c099bb550
parente03d08698616d8fd35748790eff574df4c186a5b
libertas: correct sparse warnings

  CHECK   drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/cfg.c:493:19: warning: cast to restricted __le16
  CHECK   drivers/net/wireless/libertas/mesh.c
drivers/net/wireless/libertas/mesh.c:577:16: warning: incorrect type in assignment (different base types)
drivers/net/wireless/libertas/mesh.c:577:16:    expected restricted __le32 [addressable] [assigned] [usertype] id
drivers/net/wireless/libertas/mesh.c:577:16:    got bool

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/mesh.c