From: Linus Torvalds <torvalds@linux-foundation.org>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [GIT PULL] PCI fixes for 2.6.29
Date: Wed, 11 Mar 2009 12:22:56 -0700 (PDT) [thread overview]
Message-ID: <alpine.LFD.2.00.0903111220200.32478@localhost.localdomain> (raw)
In-Reply-To: <20090311043659.GC25995@parisc-linux.org>
On Tue, 10 Mar 2009, Matthew Wilcox wrote:
>
> These are the PCI fixes that have been piling up for the last week while
> Jesse's been on vacation. I don't think there's anything questionable
> here. All the patches have been posted to linux-pci.
Grrr. It doesn't even compile cleanly:
drivers/pci/quirks.c: In function ‘ht_check_msi_mapping’:
drivers/pci/quirks.c:2142: warning: ‘return’ with no value, in function returning non-void
and yes, it's a real bug.
I'm not happy.
I assume the proper fix is this trivial one-liner, but people should
double-check.
Not pulled.
Linus
---
drivers/pci/quirks.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index a13f3d7..4ba55d0 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2139,7 +2139,7 @@ static int __devinit ht_check_msi_mapping(struct pci_dev *dev)
/* Enabling HT MSI mapping on this device breaks MCP51 */
if (dev->device == 0x270)
- return;
+ return 0;
/* check if there is HT MSI cap or enabled on this device */
pos = pci_find_ht_capability(dev, HT_CAPTYPE_MSI_MAPPING);
next prev parent reply other threads:[~2009-03-11 19:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 4:36 Matthew Wilcox
2009-03-11 19:22 ` Linus Torvalds [this message]
2009-03-11 20:13 ` Matthew Wilcox
2009-03-11 20:36 ` Yinghai Lu
2009-03-11 20:48 ` Matthew Wilcox
2009-03-11 20:59 ` Yinghai Lu
2009-03-12 17:23 ` Prakash Punnoor
2009-03-12 23:09 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.0903111220200.32478@localhost.localdomain \
--to=torvalds@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=matthew@wil.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®