]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: fix sparse warning
authorLuciano Coelho <coelho@ti.com>
Wed, 21 Dec 2011 20:36:27 +0000 (22:36 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:27 +0000 (08:38 +0200)
commit3d1876d19195d76e0a92e2fffaae3a72bc926bf4
treef8e3f8a88bc210801816364c92b108360bc80d69
parent8fc064a176db766ca605653d53ae73d9ba085d60
wl1251: fix sparse warning

The wl1251 driver was generating the following warning:

drivers/net/wireless/wl1251/boot.c:467:21: warning: incorrect type in assignment (different base types)
drivers/net/wireless/wl1251/boot.c:467:21:    expected unsigned int [unsigned] [assigned] [usertype] val
drivers/net/wireless/wl1251/boot.c:467:21:    got restricted __le32 [usertype] <noident>

Fix this by removing one cpu_to_le32() call in the wrong place.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl1251/boot.c