Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933846AbZFLQeT (ORCPT ); Fri, 12 Jun 2009 12:34:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764926AbZFLQZg (ORCPT ); Fri, 12 Jun 2009 12:25:36 -0400 Received: from sj-iport-1.cisco.com ([171.71.176.70]:23982 "EHLO sj-iport-1.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764905AbZFLQZf (ORCPT ); Fri, 12 Jun 2009 12:25:35 -0400 X-IronPort-AV: E=Sophos;i="4.42,210,1243814400"; d="scan'208";a="199114590" From: Roland Dreier To: Jesse Barnes Cc: Yinghai Lu , Matthew Wilcox , Thomas Gleixner , Ingo Molnar , "general\@lists.openfabrics.org" , "linux-kernel\@vger.kernel.org" Subject: Re: mthca double free irqs References: <86802c440906111945n2a42dc94mf08bd2b1a252842f@mail.gmail.com> <20090612085053.0fbe9731@jbarnes-g45> X-Message-Flag: Warning: May contain useful information Date: Fri, 12 Jun 2009 09:25:36 -0700 In-Reply-To: <20090612085053.0fbe9731@jbarnes-g45> (Jesse Barnes's message of "Fri, 12 Jun 2009 08:50:53 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 12 Jun 2009 16:25:36.0898 (UTC) FILETIME=[6AE94620:01C9EB7A] Authentication-Results: sj-dkim-1; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 821 Lines: 18 > My linux-next branch has a change to the return value from the MSI-X > allocation function: pci_enable_msix now returns the number of > available entries rather than -EINVAL if the allocation failed. Would > that cause problems in the mthca driver? I don't think so in this case ... the driver is getting past enabling MSI-X and actually testing the interrupt before it fails. I'll audit the code just to make sure we handle that case though. But I thought pci_enable_msix() always returned the number of entries actually available if the allocation failed? - R. -- 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/