linux-stable-rt/drivers/pnp
Len Brown 0093cb1199 pnpacpi: fix potential corruption on "pnpacpi: exceeded the max number of IRQ resources 2"
PNP_MAX_IRQ is 2
If a device invokes pnpacpi_parse_allocated_irqresource() 0, 1, or 2 times, we are happy.
The 3rd time, we will fail and print "pnpacpi: exceeded the max number of IRQ resources: 2"
The 4th and subsequent calls (if this ever happened) would silently scribble on
irq_resource[2], which doesn't actualy exist.

Found-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-23 12:22:13 -07:00
..
isapnp ISAPNP: fix limits of logical device register set 2008-03-22 17:00:03 -07:00
pnpacpi pnpacpi: fix potential corruption on "pnpacpi: exceeded the max number of IRQ resources 2" 2008-04-23 12:22:13 -07:00
pnpbios Dont touch fs_struct in drivers 2008-02-14 21:13:32 -08:00
Kconfig
Makefile
base.h
card.c
core.c
driver.c PNP: do not test PNP_DRIVER_RES_DO_NOT_CHANGE on suspend/resume 2008-02-06 10:41:20 -08:00
interface.c isapnp driver semaphore to mutex 2008-02-06 10:41:20 -08:00
manager.c isapnp driver semaphore to mutex 2008-02-06 10:41:20 -08:00
quirks.c PNP: disable PNP motherboard resources that overlap PCI BARs 2008-03-12 12:39:36 -07:00
resource.c
support.c
system.c