Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1604425

Re: [PATCH] staging: wilc1000: Fix sparse warning in wilc_wfi_cfgoperations.c

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: wilc1000: Fix sparse warning in wilc_wfi_cfgoperations.c
Date 2017-03-20 12:50 +0100
Message-ID <tn3Z0-48j-9@gated-at.bofh.it> (permalink)
References <tmYPE-Db-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Mar 19, 2017 at 11:17:08PM -0700, Jacob Zachariah wrote:
> Fix the following warning reported by sparse:
> 
> drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2006:51: warning: incorrect type in assignment (different base types)
> drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2006:51:    expected unsigned short [unsigned] [assigned] [usertype] ht_capa_info
> drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2006:51:    got restricted __le16 const [usertype] cap_info
> 

This is probably correct but there is another just a few lines down.
Fix that as well.

regards,
dan carpenter

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging: wilc1000: Fix sparse warning in wilc_wfi_cfgoperations.c Jacob Zachariah <jacob.zac316@gmail.com> - 2017-03-20 07:20 +0100
  Re: [PATCH] staging: wilc1000: Fix sparse warning in  wilc_wfi_cfgoperations.c Dan Carpenter <dan.carpenter@oracle.com> - 2017-03-20 12:50 +0100

csiph-web