From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 27 Jan 2018 14:56:28 -0500 Subject: [U-Boot] [PATCH 2/4] usb: gadget: dwc2: Fix warning over 32bit vs 64bit targets In-Reply-To: References: <1517082491-13491-1-git-send-email-trini@konsulko.com> <1517082491-13491-2-git-send-email-trini@konsulko.com> Message-ID: <20180127195628.GD20149@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Jan 27, 2018 at 08:52:43PM +0100, Marek Vasut wrote: > On 01/27/2018 08:48 PM, Tom Rini wrote: > > When we have a driver that is used on both 32bit and 64bit targets and > > we are talking about address space we cannot use u64 nor u32 and instead > > need to use phys_addr_t. > > Can someoneone pass in a pointer above 32bit address range ? That might > cause some mess ... On rockchip, where this gets used as well, it comes down to writel and a warning about "cast from pointer to integer of different size". -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: