Skip to content

Commit 14d3835

Browse files
bvanasschemartinkpetersen
authored andcommitted
scsi: core: Fix an incorrect comment
The comment that scsi_static_device_list would go away was added more than 18 years ago. Today, that list is still there and a large number of additional entries have been added. This shows that this comment is incorrect. Hence fix that comment. Cc: Christoph Hellwig <[email protected]> Cc: Avri Altman <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 95f8bf9 commit 14d3835

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

drivers/scsi/scsi_devinfo.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ static LIST_HEAD(scsi_dev_info_list);
3939
static char scsi_dev_flags[256];
4040

4141
/*
42-
* scsi_static_device_list: deprecated list of devices that require
43-
* settings that differ from the default, includes black-listed (broken)
44-
* devices. The entries here are added to the tail of scsi_dev_info_list
45-
* via scsi_dev_info_list_init.
42+
* scsi_static_device_list: list of devices that require settings that differ
43+
* from the default, includes black-listed (broken) devices. The entries here
44+
* are added to the tail of scsi_dev_info_list via scsi_dev_info_list_init.
4645
*
47-
* Do not add to this list, use the command line or proc interface to add
48-
* to the scsi_dev_info_list. This table will eventually go away.
46+
* If possible, set the BLIST_* flags from inside a SCSI LLD rather than
47+
* adding an entry to this list.
4948
*/
5049
static struct {
5150
char *vendor;

0 commit comments

Comments
 (0)