[U-Boot] [PATCH] nvme: Fix warning of cast from pointer to integer of different size

Bin Meng bmeng.cn at gmail.com
Sun May 19 08:19:21 UTC 2019


On Wed, May 15, 2019 at 11:38 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> When dma_addr_t is u32 in 64-bit, there are some warnings when
> building NVME driver. Fix it by doing an additional (long) cast.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/nvme/nvme.c      | 4 ++--
>  drivers/nvme/nvme_show.c | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list