From: Raghava Aditya Renukunta Date: Wed, 10 Jan 2018 21:13:10 +0000 (-0800) Subject: scsi: aacraid: Delay for rescan worker needs to be 10 seconds X-Git-Tag: v4.16-rc1~140^2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cfc350ab0efb932f456436d65db65f0e77993148;p=thirdparty%2Flinux.git 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 Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index 3e8bfcf6d0cb5..3ab323198fb24 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 */