[U-Boot] [PATCH] usb: dwc2: make casts of ep->dma_buf consistent
Tom Rini
trini at konsulko.com
Mon Feb 5 21:47:47 UTC 2018
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 <philipp.tomsich at theobroma-systems.com>
> Acked-by: Lukasz Majewski <lukma at denx.de>
> Acked-by: Marek Vasut <marex at denx.de>
> Signed-off-by: Tom Rini <trini at konsulko.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20180205/474df1a3/attachment.sig>
More information about the U-Boot
mailing list