Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754957AbaDOMsv (ORCPT ); Tue, 15 Apr 2014 08:48:51 -0400 Received: from mx0b-0016ce01.pphosted.com ([67.231.156.153]:47230 "EHLO mx0b-0016ce01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754737AbaDOMsk convert rfc822-to-8bit (ORCPT ); Tue, 15 Apr 2014 08:48:40 -0400 From: Vikas Chaudhary To: Alexander Gordeev , linux-kernel CC: Dept-Eng iSCSI Driver , linux-scsi , linux-pci Subject: Re: [PATCH v2 RESEND 22/23] qla4xxx: Use pci_enable_msix_exact() instead of pci_enable_msix() Thread-Topic: [PATCH v2 RESEND 22/23] qla4xxx: Use pci_enable_msix_exact() instead of pci_enable_msix() Thread-Index: AQHPV7gyTgFRPPtAz06fU/9y/rKdb5sTdB8A Date: Tue, 15 Apr 2014 12:48:35 +0000 Message-ID: <3FC4AB8B47ECD546BCD4B361A64BEACD8C68C56A@avmb3.qlogic.org> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [10.35.4.170] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5600 definitions=7408 signatures=670416 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1404150214 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/04/14 1:35 pm, "Alexander Gordeev" wrote: >As result of deprecation of MSI-X/MSI enablement functions >pci_enable_msix() and pci_enable_msi_block() all drivers >using these two interfaces need to be updated to use the >new pci_enable_msi_range() or pci_enable_msi_exact() >and pci_enable_msix_range() or pci_enable_msix_exact() >interfaces. > >Signed-off-by: Alexander Gordeev >Cc: Vikas Chaudhary >Cc: iscsi-driver@qlogic.com >Cc: linux-scsi@vger.kernel.org >Cc: linux-pci@vger.kernel.org >--- > drivers/scsi/qla4xxx/ql4_nx.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c >index 63328c8..a3e69e6 100644 >--- a/drivers/scsi/qla4xxx/ql4_nx.c >+++ b/drivers/scsi/qla4xxx/ql4_nx.c >@@ -3787,7 +3787,7 @@ qla4_8xxx_enable_msix(struct scsi_qla_host *ha) > for (i = 0; i < QLA_MSIX_ENTRIES; i++) > entries[i].entry = qla4_8xxx_msix_entries[i].entry; > >- ret = pci_enable_msix(ha->pdev, entries, ARRAY_SIZE(entries)); >+ ret = pci_enable_msix_exact(ha->pdev, entries, ARRAY_SIZE(entries)); > if (ret) { > ql4_printk(KERN_WARNING, ha, > "MSI-X: Failed to enable support -- %d/%d\n", >-- >1.7.7.6 Acked-By: Vikas Chaudhary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/