On Mon, Aug 14, 2023 at 01:47:47AM +0200, Marek Vasut wrote:

> Fix the following warning produced on qemu-x86_64_defconfig:
> 
> "
> common/bouncebuf.c: In function ‘bounce_buffer_stop’:
> common/bouncebuf.c:82:34: warning: cast from pointer to integer of different 
> size [-Wpointer-to-int-cast]
>    82 |                 dma_unmap_single((dma_addr_t)state->bounce_buffer,
>       |                                  ^
> "
> 
> The warning is valid, the pointer has to be up-cast first.
> 
> Signed-off-by: Marek Vasut <[email protected]>
> Reviewed-by: Andrew Davis <[email protected]>

Applied to u-boot/next, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to