Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Dave C Boutcher and committed by
James Bottomley
ae0fda0c 6c51fe10

+1
+1
drivers/scsi/ibmvscsi/rpa_vscsi.c
··· 238 238 if (rc == 2) { 239 239 /* Adapter is good, but other end is not ready */ 240 240 printk(KERN_WARNING "ibmvscsi: Partner adapter not ready\n"); 241 + retrc = 0; 241 242 } else if (rc != 0) { 242 243 printk(KERN_WARNING "ibmvscsi: Error %d opening adapter\n", rc); 243 244 goto reg_crq_failed;