aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-02-14 21:21:51 +0000
committerMartin K. Petersen <[email protected]>2017-02-16 02:39:45 +0000
commitd1da522fb8a70b8c527d4ad15f9e62218cc00f2c (patch)
treec7e3b198ea46e0486e6233453d750aeb6344271b /drivers/mmc/core/queue.c
parentscsi: megaraid_sas: array overflow in megasas_dump_frame() (diff)
downloadkernel-d1da522fb8a70b8c527d4ad15f9e62218cc00f2c.tar.gz
kernel-d1da522fb8a70b8c527d4ad15f9e62218cc00f2c.zip
scsi: megaraid_sas: handle dma_addr_t right on 32-bit
When building with a dma_addr_t that is different from pointer size, we get this warning: drivers/scsi/megaraid/megaraid_sas_fusion.c: In function 'megasas_make_prp_nvme': drivers/scsi/megaraid/megaraid_sas_fusion.c:1654:17: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] It's better to not pretend that the dma address is a pointer and instead use a dma_addr_t consistently. Fixes: 33203bc4d61b ("scsi: megaraid_sas: NVME fast path io support") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Sumit Saxena <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions