summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>2018-01-10 13:13:10 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-10 23:25:12 -0500
commitcfc350ab0efb932f456436d65db65f0e77993148 (patch)
treeddb21363bc30bbf509cb6a6f2e82911d4c866591
parentbbd16d96d1ec531f6ad950d01b542422040033b8 (diff)
downloadlinux-cfc350ab0efb932f456436d65db65f0e77993148.tar.gz
linux-cfc350ab0efb932f456436d65db65f0e77993148.tar.bz2
linux-cfc350ab0efb932f456436d65db65f0e77993148.zip
scsi: aacraid: Delay for rescan worker needs to be 10 seconds
The delay for the rescan worker needs to 10 seconds, missed the HZ in there. Fixes: a1367e4adee207fe (scsi: aacraid: Reschedule host scan in case of failure) Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/aacraid/aacraid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index 3e8bfcf6d0cb..3ab323198fb2 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -1340,7 +1340,7 @@ struct fib {
#define AAC_DEVTYPE_ARC_RAW 2
#define AAC_DEVTYPE_NATIVE_RAW 3
-#define AAC_SAFW_RESCAN_DELAY 10
+#define AAC_SAFW_RESCAN_DELAY (10 * HZ)
struct aac_hba_map_info {
__le32 rmw_nexus; /* nexus for native HBA devices */