[SCSI] ipr: ipr_test_msi() fails when running with msi-x enabled adapter
authorwenxiong@linux.vnet.ibm.com <wenxiong@linux.vnet.ibm.com>
Wed, 27 Feb 2013 18:37:45 +0000 (12:37 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 6 Apr 2013 09:30:40 +0000 (10:30 +0100)
commitf19799f49d1a03f39d5e53fa1bf05db4820c86c2
tree282e97d99fbd1a8760222f54305a29027ed1bc59
parentfe6969094214350e586d56fbfa3ef97cdd74b270
[SCSI] ipr: ipr_test_msi() fails when running with msi-x enabled adapter

Loading ipr modules failed(-22) with msi-x enabled adapter. In ipr_test_msi(),
We need to pass the first vector of msix vectors instead of using pdev->irq
to request_irq() when adapter enables msix feature.

Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ipr.c