mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
[SCSI] ibmvscsi: handle inactive SCSI target during probe
Without this patch we register an interrupt with request_irq, but then return a bad return code from the module probe. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
6c51fe1047
commit
ae0fda0cdf
@ -238,6 +238,7 @@ int ibmvscsi_init_crq_queue(struct crq_queue *queue,
|
||||
if (rc == 2) {
|
||||
/* Adapter is good, but other end is not ready */
|
||||
printk(KERN_WARNING "ibmvscsi: Partner adapter not ready\n");
|
||||
retrc = 0;
|
||||
} else if (rc != 0) {
|
||||
printk(KERN_WARNING "ibmvscsi: Error %d opening adapter\n", rc);
|
||||
goto reg_crq_failed;
|
||||
|
Loading…
Reference in New Issue
Block a user