Re: [U-Boot] [PATCH 3/5][v5] include/linux: move typdef for uintptr_t

2015-12-15 Thread York Sun
On 12/08/2015 04:24 PM, Aneesh Bansal wrote: > uintptr_t which is a typdef for unsigned long is needed for creating > pointers (32 or 64 bit depending on Core) from 32 bit variables > storing the address. > If a 32 bit variable (u32) is typecasted to a pointer (void *), > compiler gives a warning

Re: [U-Boot] [PATCH 3/5][v5] include/linux: move typdef for uintptr_t

2015-12-14 Thread York Sun
On 12/08/2015 04:24 PM, Aneesh Bansal wrote: > uintptr_t which is a typdef for unsigned long is needed for creating > pointers (32 or 64 bit depending on Core) from 32 bit variables > storing the address. > If a 32 bit variable (u32) is typecasted to a pointer (void *), > compiler gives a warning

Re: [U-Boot] [PATCH 3/5][v5] include/linux: move typdef for uintptr_t

2015-12-13 Thread York Sun
Resend with my freescale id. I would like to merge this patch if no objection. York On 12/08/2015 08:45 AM, York Sun wrote: > > > On 12/08/2015 12:24 AM, Aneesh Bansal wrote: >> uintptr_t which is a typdef for unsigned long is needed for creating >> pointers (32 or 64 bit depending on Core) f

Re: [U-Boot] [PATCH 3/5][v5] include/linux: move typdef for uintptr_t

2015-12-13 Thread York Sun
I would like to merge this one if no objection. York On 12/08/2015 08:45 AM, York Sun wrote: > > > On 12/08/2015 12:24 AM, Aneesh Bansal wrote: >> uintptr_t which is a typdef for unsigned long is needed for creating >> pointers (32 or 64 bit depending on Core) from 32 bit variables >> storing

Re: [U-Boot] [PATCH 3/5][v5] include/linux: move typdef for uintptr_t

2015-12-08 Thread York Sun
On 12/08/2015 12:24 AM, Aneesh Bansal wrote: > uintptr_t which is a typdef for unsigned long is needed for creating > pointers (32 or 64 bit depending on Core) from 32 bit variables > storing the address. > If a 32 bit variable (u32) is typecasted to a pointer (void *), > compiler gives a warning

[U-Boot] [PATCH 3/5][v5] include/linux: move typdef for uintptr_t

2015-12-08 Thread Aneesh Bansal
uintptr_t which is a typdef for unsigned long is needed for creating pointers (32 or 64 bit depending on Core) from 32 bit variables storing the address. If a 32 bit variable (u32) is typecasted to a pointer (void *), compiler gives a warning in case size of pointer on the core is 64 bit. The typd