[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adazlcdzadw.fsf@cisco.com>
Date: Fri, 12 Jun 2009 09:26:19 -0700
From: Roland Dreier <rdreier@...co.com>
To: Jesse Barnes <jesse.barnes@...el.com>
Cc: Yinghai Lu <yhlu.kernel@...il.com>,
Matthew Wilcox <matthew@....cx>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...e.hu>,
"general\@lists.openfabrics.org" <general@...ts.openfabrics.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: mthca double free irqs
Yeah, the code as it is should be OK:
err = pci_enable_msix(mdev->pdev, entries, ARRAY_SIZE(entries));
if (err) {
if (err > 0)
mthca_info(mdev, "Only %d MSI-X vectors available, "
"not using MSI-X\n", err);
return err;
}
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists