Skip to content

Commit 425b27a

Browse files
johnpgarrymartinkpetersen
authored andcommitted
scsi: core: Use SCSI_SCAN_INITIAL in do_scsi_scan_host()
Instead of using hardcoded '0' as the do_scsi_scan_host() -> scsi_scan_host_selected() rescan arg, use proper macro SCSI_SCAN_INITIAL. Signed-off-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Jason Yan <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 35bd6f9 commit 425b27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/scsi_scan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ static void do_scsi_scan_host(struct Scsi_Host *shost)
19201920
msleep(10);
19211921
} else {
19221922
scsi_scan_host_selected(shost, SCAN_WILD_CARD, SCAN_WILD_CARD,
1923-
SCAN_WILD_CARD, 0);
1923+
SCAN_WILD_CARD, SCSI_SCAN_INITIAL);
19241924
}
19251925
}
19261926

0 commit comments

Comments
 (0)