From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 25 Mar 2015 12:50:04 +0100 Subject: [U-Boot] [PATCH 11/13] usb: ehci-hcd: Build warning fixes for 64-bit In-Reply-To: <1426851688-6429-11-git-send-email-thierry.reding@gmail.com> References: <1426851688-6429-1-git-send-email-thierry.reding@gmail.com> <1426851688-6429-11-git-send-email-thierry.reding@gmail.com> Message-ID: <201503251250.04549.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, March 20, 2015 at 12:41:26 PM, Thierry Reding wrote: > From: Thierry Reding > > Fix a slew of pointer to integer cast size mismatch warnings caused by > this driver explicitly casting pointers to 32-bit integers. While it is > true that the hardware can only deal with 32-bit addresses, truncating > using a cast isn't the right solution because the pointer could still be > outside of the space addressable using 32-bit addresses. > > Cc: Marek Vasut > Signed-off-by: Thierry Reding I'll be picking the one from Rob here instead. Best regards, Marek Vasut