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

Sudip Mukherjee sudipm.mukherjee at gmail.com
Fri Aug 14 06:26:13 UTC 2015


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;


regards
sudip


More information about the devel mailing list