]> git.baikalelectronics.ru Git - kernel.git/commit
usb/net/r815x: fix cast to restricted __le32
authorhayeswang <hayeswang@realtek.com>
Fri, 12 Jul 2013 08:26:16 +0000 (16:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jul 2013 23:13:34 +0000 (16:13 -0700)
commit1ee5e0f7639850001e9b645bae3138b5aa9a7bac
tree30aa19dc4336799d3cb60a5ac6adcd4f3b34675b
parenta63306a74d691b5ee210e4064d83ce3acbc78f9b
usb/net/r815x: fix cast to restricted __le32

>> drivers/net/usb/r815x.c:38:16: sparse: cast to restricted __le32
>> drivers/net/usb/r815x.c:67:15: sparse: cast to restricted __le32
>> drivers/net/usb/r815x.c:69:13: sparse: incorrect type in assignment (different base types)
   drivers/net/usb/r815x.c:69:13:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] tmp
   drivers/net/usb/r815x.c:69:13:    got restricted __le32 [usertype] <noident>

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Spotted-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r815x.c