]> git.dujemihanovic.xyz Git - u-boot.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)
commit5b2a20e9564c46a571126275991426dd8618e2d8
treeb57b7f5d4367080e5c3d3ad5e1cace34089ee534
parentb52e9f0cb748d2a2ae26db62072294b9cccdb86f
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