diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-08-14 01:47:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-22 15:17:52 -0400 |
commit | 3f9cff669bbc4ed48ede1705fbaf671f3f4ce0e1 (patch) | |
tree | d1c8cd2549b6c3da0e6d8fe4abc7aa5aff740eb9 /disk | |
parent | 7f0fba9fb08fb7d31060848c719ffad3739e9d58 (diff) | |
download | u-boot-3f9cff669bbc4ed48ede1705fbaf671f3f4ce0e1.tar.gz u-boot-3f9cff669bbc4ed48ede1705fbaf671f3f4ce0e1.tar.bz2 u-boot-3f9cff669bbc4ed48ede1705fbaf671f3f4ce0e1.zip |
common: bouncebuf: Add missing cast to dma_addr_t
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 <marek.vasut+renesas@mailbox.org>
Reviewed-by: Andrew Davis <afd@ti.com>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions