diff options
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c index 0af682cafa0b..38ff575775f1 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c +++ b/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | |||
@@ -528,10 +528,10 @@ static void setup_itct_v1_hw(struct hisi_hba *hisi_hba, | |||
528 | itct->sas_addr = __swab64(itct->sas_addr); | 528 | itct->sas_addr = __swab64(itct->sas_addr); |
529 | 529 | ||
530 | /* qw2 */ | 530 | /* qw2 */ |
531 | itct->qw2 = cpu_to_le64((500 < ITCT_HDR_IT_NEXUS_LOSS_TL_OFF) | | 531 | itct->qw2 = cpu_to_le64((500ULL << ITCT_HDR_IT_NEXUS_LOSS_TL_OFF) | |
532 | (0xff00 < ITCT_HDR_BUS_INACTIVE_TL_OFF) | | 532 | (0xff00ULL << ITCT_HDR_BUS_INACTIVE_TL_OFF) | |
533 | (0xff00 < ITCT_HDR_MAX_CONN_TL_OFF) | | 533 | (0xff00ULL << ITCT_HDR_MAX_CONN_TL_OFF) | |
534 | (0xff00 < ITCT_HDR_REJ_OPEN_TL_OFF)); | 534 | (0xff00ULL << ITCT_HDR_REJ_OPEN_TL_OFF)); |
535 | } | 535 | } |
536 | 536 | ||
537 | static void free_device_v1_hw(struct hisi_hba *hisi_hba, | 537 | static void free_device_v1_hw(struct hisi_hba *hisi_hba, |