From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 5 Feb 2018 16:47:47 -0500 Subject: [U-Boot] [PATCH] usb: dwc2: make casts of ep->dma_buf consistent In-Reply-To: <1517842491-32421-1-git-send-email-trini@konsulko.com> References: <1517842491-32421-1-git-send-email-trini@konsulko.com> Message-ID: <20180205214747.GH4297@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 Mon, Feb 05, 2018 at 09:54:51AM -0500, Tom Rini wrote: > In most places in the code we cast this to an unsigned long, but in one > place we cast to an unsigned int. For consistency and to fix a warning > on 64bit targets, always cast this to unsigned long. For the long term > we should however change the declaration of dma_buf. > > Cc: Philipp Tomsich > Acked-by: Lukasz Majewski > Acked-by: Marek Vasut > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: