[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170320114547.GD4395@mwanda>
Date: Mon, 20 Mar 2017 14:45:47 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Jacob Zachariah <jacob.zac316@...il.com>
Cc: aditya.shankar@...rochip.com, ganesh.krishna@...rochip.com,
gregkh@...uxfoundation.org, linux-wireless@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: wilc1000: Fix sparse warning in
wilc_wfi_cfgoperations.c
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
Powered by blists - more mailing lists