Re: [PATCH 24/28] staging: wilc1000: fix cast from pointer to integer warning

2015-07-31 Thread Greg KH
On Fri, Jul 31, 2015 at 04:38:32PM +0900, Tony Cho wrote: > From: glen lee > > To use a pointer as as integer in arithmetic operation, cast type to uintptr_t > as the data type. > This patch changes casting (unsigned int) with (uintptr_t) to do arithmetic > operation > > Here is build warning.

[PATCH 24/28] staging: wilc1000: fix cast from pointer to integer warning

2015-07-31 Thread Tony Cho
From: glen lee To use a pointer as as integer in arithmetic operation, cast type to uintptr_t as the data type. This patch changes casting (unsigned int) with (uintptr_t) to do arithmetic operation Here is build warning. drivers/staging/wilc1000/linux_wlan.c:2385:20: warning: cast from pointer