ソースを参照

[PATCH] Fixup cciss error handling

The previous cciss commit removed the err_out_disable_pdev label, but
there was still a user of that. Fix that up.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe 18 年 前
コミット
2fc2c60df3
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/block/cciss.c

+ 1 - 1
drivers/block/cciss.c

@@ -2837,7 +2837,7 @@ static int cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
 	if (err) {
 		printk(KERN_ERR "cciss: Cannot obtain PCI resources, "
 		       "aborting\n");
-		goto err_out_disable_pdev;
+		return err;
 	}
 
 	subsystem_vendor_id = pdev->subsystem_vendor;