diff options
-rw-r--r-- | drivers/scsi/scsi_dh.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_dh.c b/drivers/scsi/scsi_dh.c index b88b5dbbc444..188f30572aa1 100644 --- a/drivers/scsi/scsi_dh.c +++ b/drivers/scsi/scsi_dh.c | |||
@@ -112,6 +112,9 @@ static struct scsi_device_handler *scsi_dh_lookup(const char *name) | |||
112 | { | 112 | { |
113 | struct scsi_device_handler *dh; | 113 | struct scsi_device_handler *dh; |
114 | 114 | ||
115 | if (!name || strlen(name) == 0) | ||
116 | return NULL; | ||
117 | |||
115 | dh = __scsi_dh_lookup(name); | 118 | dh = __scsi_dh_lookup(name); |
116 | if (!dh) { | 119 | if (!dh) { |
117 | request_module("scsi_dh_%s", name); | 120 | request_module("scsi_dh_%s", name); |