linux/drivers/scsi/hisi_sas
John Garry 433f569601 scsi: hisi_sas: use safe BITS_PER_BYTE for slot tag size calculation
The memory calculation for the tags bitmap should use BITS_PER_BYTE
macro instead of coincidental same value of sizeof(unsigned long).

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-09-14 12:54:17 -04:00
..
hisi_sas_main.c scsi: hisi_sas: use safe BITS_PER_BYTE for slot tag size calculation 2016-09-14 12:54:17 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: save delivery queue write pointer 2016-09-14 12:54:17 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: keep CHL_INT2 masked for v2 HW 2016-09-14 12:54:17 -04:00
hisi_sas.h scsi: hisi_sas: save delivery queue write pointer 2016-09-14 12:54:17 -04:00
Kconfig hisi_sas: add dependency for HAS_IOMEM 2016-01-26 21:17:59 -05:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00