aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2013-08-28 15:52:23 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-28 18:28:42 -0400
commit688141d674b4b44b43b46adfa52bff5cf48834bf (patch)
treed6cbca5f039cba3bac37bffb7bb31c16005ffcb5
parent8503f9016f01d01b4c3a1e8c9848d4f564e71bd1 (diff)
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] <noident> >> 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] <noident> vnt_phy_field member len should be __le16. Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: kbuild-all@01.org Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vt6656/baseband.h2
1 files changed, 1 insertions, 1 deletions
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 @@
85struct vnt_phy_field { 85struct vnt_phy_field {
86 u8 signal; 86 u8 signal;
87 u8 service; 87 u8 service;
88 u16 len; 88 __le16 len;
89} __packed; 89} __packed;
90 90
91unsigned int 91unsigned int