Re: [PATCH 1/2] staging: wilc1000: modify type casting warning

2015-06-22 Thread Dan Carpenter
On Tue, Jun 16, 2015 at 06:06:43AM -0700, Greg KH wrote: > This shows you are doing something really wrong here, why not just fix > the function type to be a real pointer to a real structure? You are right, of course. > Or even better, just remove the parameter as I don't think they are > even us

Re: [PATCH 1/2] staging: wilc1000: modify type casting warning

2015-06-16 Thread Greg KH
On Tue, Jun 16, 2015 at 04:11:24PM +0900, Dean Lee wrote: > modify message "warning: cast from pointer to integer of different size". > add type cast 'uintptr_t'. > > Signed-off-by: Dean Lee > --- > Change Log: > add Signed-off-by line > > drivers/staging/wilc1000/host_interface.c | 12

[PATCH 1/2] staging: wilc1000: modify type casting warning

2015-06-16 Thread Dean Lee
modify message "warning: cast from pointer to integer of different size". add type cast 'uintptr_t'. Signed-off-by: Dean Lee --- Change Log: add Signed-off-by line drivers/staging/wilc1000/host_interface.c | 129 +++--- drivers/staging/wilc1000/linux_wlan.c