mhi: pci_generic: Fix implicit conversion warning
authorLoic Poulain <loic.poulain@linaro.org>
Wed, 2 Dec 2020 08:12:30 +0000 (09:12 +0100)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 2 Dec 2020 08:59:17 +0000 (14:29 +0530)
commit4ea6fa2cb921cb17812501a27c3761037d64a217
tree2e5c5b90758ccbb44a1086d96bfd9f7bb62e9eef
parent89828f632dec8ab1e19f23771b313c1942e102c0
mhi: pci_generic: Fix implicit conversion warning

Fix the following warning with explicit cast:

warning: implicit conversion from 'unsigned long long' to
'dma_addr_t' (aka 'unsigned int')
mhi_cntrl->iova_stop = DMA_BIT_MASK(info->dma_data_width);

Fixes: 855a70c12021 ("bus: mhi: Add MHI PCI support for WWAN modems")
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/pci_generic.c