login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
18
Re: [PATCH] bnx2: Promote vector field in bnx2_irq structure from u16 to unsigned int
view
thread
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: David Miller
Subject:
Re: [PATCH] bnx2: Promote vector field in bnx2_irq structure from u16 to unsigned int
Date: Thursday, September 18, 2008 - 4:46 pm
From: "Benjamin Li" <benli@broadcom.com> Date: Wed, 17 Sep 2008 09:04:02 -0700
quoted text
> The bnx2 driver stores/uses the irq value from the pci_dev internally. > But when it stores the irq value, it has been performing an > integer demotion. Because of the recent changes made to > arch/x86/kernel/io_apic.c, the new method in creating the irq value > (using build_irq_for_pci_dev()) has exposed this bug on x86 systems. > > Because of this demotion when calling request_irq() from > bnx2_request_irq(), the driver would get a return code of -EINVAL. > This is because the kernel could not find the requested irq descriptor. > By storing the irq value properly, the kernel can find the correct > irq descriptor and the bnx2 driver can operate normally. > > Signed-off-by: Benjamin Li <benli@broadcom.com> > Signed-off-by: Michael Chan <mchan@broadcom.com>
Applied to net-2.6, thanks! --
unsubscribe notice
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/
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: [PATCH] bnx2: Promote vector field in bnx2_irq structu ...
, David Miller
, (Thu Sep 18, 4:46 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Stefan Richter
Re: sata & scsi suggestion for make menuconfig
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Rafael J. Wysocki
[Bug #11409] build issue #564 for v2.6.27-rc4 : undefined reference to `NS8390p_in...
Andrew Morton
2.6.23-rc6-mm1
Paul E. McKenney
Re: [PATCH, RFC, tip/core/rcu] scalable classic RCU implementation
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] dma: use new dmabounce_sync_for_xxx() for dma_sync_single_xxx()
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Jason Dixon
Re: any web management gui for pf ?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Marco Peereboom
Re: Singularity OS
Colocation donated by:
Syndicate