From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 20 Mar 2015 10:10:55 -0600 Subject: [U-Boot] [PATCH 09/13] usb: ci_udc: Build warning fixes for 64-bit In-Reply-To: <1426851688-6429-9-git-send-email-thierry.reding@gmail.com> References: <1426851688-6429-1-git-send-email-thierry.reding@gmail.com> <1426851688-6429-9-git-send-email-thierry.reding@gmail.com> Message-ID: <550C468F.60808@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/20/2015 05:41 AM, 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. Seems reasonable at a quick glance, Acked-by: Stephen Warren