Staging: btmtk_usb: Fix Sparse Warning of incorrect type in assignment
authorRashika Kheria <rashika.kheria@gmail.com>
Tue, 15 Oct 2013 20:12:13 +0000 (01:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 16:32:28 +0000 (09:32 -0700)
commit7ed57bca58ba3befc02d52639b128c5bcf5deeb3
treeb656868ceb4aed71e1b242cd2ac9f51834a2abad
parentc744fd5fa832b003a77bd3a009f9ac533cd10853
Staging: btmtk_usb: Fix Sparse Warning of incorrect type in assignment

This patch fixes the following Sparse Warnings in btmtk_usb.c:

drivers/staging/btmtk_usb/btmtk_usb.c:676:39: warning: incorrect type in assignment (different base types)
drivers/staging/btmtk_usb/btmtk_usb.c:676:39:    expected unsigned int [unsigned] [usertype] packet_header
drivers/staging/btmtk_usb/btmtk_usb.c:676:39:    got restricted __le32 [usertype] <noident>

drivers/staging/btmtk_usb/btmtk_usb.c:736:31: warning: incorrect type in assignment (different base types)
drivers/staging/btmtk_usb/btmtk_usb.c:736:31:    expected unsigned int [unsigned] [addressable] [usertype] packet_header
drivers/staging/btmtk_usb/btmtk_usb.c:736:31:    got restricted __le32 [usertype] <noident>

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/btmtk_usb/btmtk_usb.c