From: Malcolm Priestley Date: Wed, 28 Aug 2013 19:52:23 +0000 (+0100) Subject: staging: vt6656: baseband.h re: baseband.c:877:26: sparse: incorrect type in assignme... X-Git-Tag: MMI-PSA29.97-13-9~13778^2~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=688141d674b4b44b43b46adfa52bff5cf48834bf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: vt6656: baseband.h re: baseband.c:877:26: sparse: incorrect type in assignment (different base types) sparse warnings: (new ones prefixed by >>) ... >> drivers/staging/vt6656/baseband.c:877:26: sparse: incorrect type in assignment (different base types) drivers/staging/vt6656/baseband.c:877:26: expected unsigned short [unsigned] [usertype] len drivers/staging/vt6656/baseband.c:877:26: got restricted __le16 [usertype] >> drivers/staging/vt6656/baseband.c:880:26: sparse: incorrect type in assignment (different base types) drivers/staging/vt6656/baseband.c:880:26: expected unsigned short [unsigned] [usertype] len drivers/staging/vt6656/baseband.c:880:26: got restricted __le16 [usertype] vnt_phy_field member len should be __le16. Reported-by: kbuild test robot Cc: kbuild-all@01.org Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/baseband.h b/drivers/staging/vt6656/baseband.h index a8db17dc366e..79faedf4a5e9 100644 --- a/drivers/staging/vt6656/baseband.h +++ b/drivers/staging/vt6656/baseband.h @@ -85,7 +85,7 @@ struct vnt_phy_field { u8 signal; u8 service; - u16 len; + __le16 len; } __packed; unsigned int