[PATCH 2/5] staging: wilc1000: change void pointer type to real type

Greg KH gregkh at linuxfoundation.org
Sat Aug 15 02:01:49 UTC 2015


On Fri, Aug 14, 2015 at 11:56:13AM +0530, Sudip Mukherjee wrote:
> On Thu, Aug 13, 2015 at 01:41:20PM +0900, Tony Cho wrote:
> > From: Johnny Kim <johnny.kim at atmel.com>
> > 
> > This patch changes the void pointer member of the tstrHostIFmsg to the
> > real data type because the void pointer type is ambiguous and not
> > readable.
> > 
> > Signed-off-by: Johnny Kim <johnny.kim at atmel.com>
> > Signed-off-by: Tony Cho <tony.cho at atmel.com>
> > ---
> This patch is introducing some new warnings like:
> 
> drivers/staging/wilc1000/host_interface.c: In function ‘host_int_set_wfi_drv_handler’:
> drivers/staging/wilc1000/host_interface.c:5817:66: warning: assignment
> makes integer from pointer without a cast [enabled by default]
>   strHostIFmsg.uniHostIFmsgBody.strHostIfSetDrvHandler.u32Address = u32address;

That warning doesn't seem to have anything to do with this patch, odd...


More information about the devel mailing list