WSL2-Linux-Kernel/drivers/scsi/megaraid
Arnd Bergmann d1da522fb8 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: 33203bc4d6 ("scsi: megaraid_sas: NVME fast path io support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-15 21:39:45 -05:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c
megaraid_mbox.h
megaraid_mm.c
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas.h scsi: megaraid_sas: driver version upgrade 2017-02-13 07:26:23 -05:00
megaraid_sas_base.c scsi: megaraid_sas: array overflow in megasas_dump_frame() 2017-02-15 21:37:35 -05:00
megaraid_sas_fp.c scsi: megaraid_sas: Indentation and smatch warning fixes 2017-02-13 07:26:23 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: handle dma_addr_t right on 32-bit 2017-02-15 21:39:45 -05:00
megaraid_sas_fusion.h scsi: megaraid_sas: Change RAID_1_10_RMW_CMDS to RAID_1_PEER_CMDS and set value to 2 2017-02-13 07:26:23 -05:00