Skip to content

Commit b15578d

Browse files
xosevpmartinkpetersen
authored andcommitted
scsi: devinfo: delete duplicate "Generic"/"USB Storage-SMC" device
The revision field is currently unused by the devinfo pattern matching code. Combine two blacklist entries into one. $ egrep "Generic.*Storage-SMC" /proc/scsi/device_info 'Generic' 'USB Storage-SMC' 0x402 'Generic' 'USB Storage-SMC' 0x402 [mkp: tweaked commit desc] Cc: Hannes Reinecke <[email protected]> Cc: Martin K. Petersen <[email protected]> Cc: James E.J. Bottomley <[email protected]> Cc: SCSI ML <[email protected]> Signed-off-by: Xose Vazquez Perez <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 40e4a2e commit b15578d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/scsi/scsi_devinfo.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ static struct {
168168
{"easyRAID", "F8", NULL, BLIST_NOREPORTLUN},
169169
{"FSC", "CentricStor", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
170170
{"Generic", "USB SD Reader", "1.00", BLIST_FORCELUN | BLIST_INQUIRY_36},
171-
{"Generic", "USB Storage-SMC", "0180", BLIST_FORCELUN | BLIST_INQUIRY_36},
172-
{"Generic", "USB Storage-SMC", "0207", BLIST_FORCELUN | BLIST_INQUIRY_36},
171+
{"Generic", "USB Storage-SMC", NULL, BLIST_FORCELUN | BLIST_INQUIRY_36}, /* FW: 0180 and 0207 */
173172
{"HITACHI", "DF400", "*", BLIST_REPORTLUN2},
174173
{"HITACHI", "DF500", "*", BLIST_REPORTLUN2},
175174
{"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},

0 commit comments

Comments
 (0)