Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 940d7faa authored by Peter Jones's avatar Peter Jones Committed by James Bottomley
Browse files

[SCSI] scsi_dh: Use scsi_devinfo functions to do matching of device_handler tables.



Previously we were using strncmp in order to avoid having to include
whitespace in the devlist, but this means "HSV1000" matches a device
list entry that says "HSV100", which is wrong.  This patch changes
scsi_dh.c to use scsi_devinfo's matching functions instead, since they
handle these cases correctly.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 38a039be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment