From: Himangi Saraogi Date: Tue, 4 Mar 2014 23:23:58 +0000 (+0530) Subject: staging:rtl8712: Fix sparse warning incorrect type in assignment X-Git-Tag: v3.15-rc1~139^2~536 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f11b53dbc69ffd2d80548f6c32e44adb697401a;p=pandora-kernel.git staging:rtl8712: Fix sparse warning incorrect type in assignment This patch fixes the following sparse warnings: drivers/staging/rtl8712/rtl871x_cmd.c:471:30: warning: incorrect type in assignment (different base types) drivers/staging/rtl8712/rtl871x_cmd.c:471:30: expected unsigned int [unsigned] [usertype] Length drivers/staging/rtl8712/rtl871x_cmd.c:471:30: got restricted __le32 [usertype] drivers/staging/rtl8712/rtl871x_cmd.c:472:32: warning: incorrect type in assignment (different base types) drivers/staging/rtl8712/rtl871x_cmd.c:472:32: expected unsigned int [unsigned] [usertype] IELength drivers/staging/rtl8712/rtl871x_cmd.c:472:32: got restricted __le32 [usertype] drivers/staging/rtl8712/rtl871x_cmd.c:473:39: warning: incorrect type in assignment (different base types) drivers/staging/rtl8712/rtl871x_cmd.c:473:39: expected unsigned int [unsigned] [usertype] SsidLength drivers/staging/rtl8712/rtl871x_cmd.c:473:39: got restricted __le32 [usertype] Signed-off-by: Himangi Saraogi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed