From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 15 Dec 2015 09:07:29 +0800 Subject: [U-Boot] [PATCH 3/5][v5] include/linux: move typdef for uintptr_t In-Reply-To: <1449563070-5761-3-git-send-email-aneesh.bansal@freescale.com> References: <1449563070-5761-1-git-send-email-aneesh.bansal@freescale.com> <1449563070-5761-3-git-send-email-aneesh.bansal@freescale.com> Message-ID: <566F67D1.60609@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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