scsi: aacraid: Delay for rescan worker needs to be 10 seconds
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Wed, 10 Jan 2018 21:13:10 +0000 (13:13 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:12 +0000 (23:25 -0500)
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>
drivers/scsi/aacraid/aacraid.h

index 3e8bfcf6d0cb534fea336fed48eb4425f37a6ddc..3ab323198fb24ee9a410b609d9526896aa2526cb 100644 (file)
@@ -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 */