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

York Sun
2015-12-15T01:07:29Z

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 in case size of pointer on the core is 64 bit.
>
> The typdef has been moved from include/compiler.h to include/linux/types.h
>
> Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
> ---
> Changes in v5:
> New patch instead of http://patchwork.ozlabs.org/patch/546319/
>
> Changes in v4: None
>
> Changes in v3: None
>
> Changes in v2: None
>

Applied to fsl-qoriq master. Awaiting upstream.

York