]> git.baikalelectronics.ru Git - uboot.git/commit
nvme: Fix warning of cast from pointer to integer of different size
authorBin Meng <bmeng.cn@gmail.com>
Wed, 15 May 2019 15:37:56 +0000 (08:37 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 19 May 2019 08:17:33 +0000 (16:17 +0800)
commitc39661447ea5725c78242cc1a0ef36603c753a89
treeb57b7f5d4367080e5c3d3ad5e1cace34089ee534
parent48571223ba00c0d4ac95019b47826245c2431666
nvme: Fix warning of cast from pointer to integer of different size

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@gmail.com>
drivers/nvme/nvme.c
drivers/nvme/nvme_show.c