From: Chris Wright Date: Thu, 6 Jul 2006 19:32:29 +0000 (-0700) Subject: pnp supress request_irq() warning, fwd from akpm X-Git-Tag: v2.6.16.24~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1510d5c75cae328e42ca722267b94f9d9718433e;p=thirdparty%2Fkernel%2Fstable-queue.git pnp supress request_irq() warning, fwd from akpm --- diff --git a/queue-2.6.17/pnp-suppress-request_irq-warning.patch b/queue-2.6.17/pnp-suppress-request_irq-warning.patch new file mode 100644 index 00000000000..a83aecd3b6e --- /dev/null +++ b/queue-2.6.17/pnp-suppress-request_irq-warning.patch @@ -0,0 +1,29 @@ +From 0cadaf45bd7c19f0bef49d1eebfff38a046b9ba4 Mon Sep 17 00:00:00 2001 +From: Andrew Morton +Date: Sat, 1 Jul 2006 04:36:37 -0700 +Subject: pnp: suppress request_irq() warning + +Suppress the "setup_irq: irq handler mismatch" coming out of pnp_check_irq(): +failures are expected here. + +Cc: +Cc: Santiago Garcia Mantinan +Signed-off-by: Andrew Morton +Signed-off-by: Linus Torvalds +Signed-off-by: Chris Wright +--- + drivers/pnp/resource.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- linux-2.6.17.3.orig/drivers/pnp/resource.c ++++ linux-2.6.17.3/drivers/pnp/resource.c +@@ -396,7 +396,8 @@ int pnp_check_irq(struct pnp_dev * dev, + /* check if the resource is already in use, skip if the + * device is active because it itself may be in use */ + if(!dev->active) { +- if (request_irq(*irq, pnp_test_handler, SA_INTERRUPT, "pnp", NULL)) ++ if (request_irq(*irq, pnp_test_handler, ++ SA_INTERRUPT|SA_PROBEIRQ, "pnp", NULL)) + return 0; + free_irq(*irq, NULL); + } diff --git a/queue-2.6.17/series b/queue-2.6.17/series index b79e3473f90..127cabb470f 100644 --- a/queue-2.6.17/series +++ b/queue-2.6.17/series @@ -6,3 +6,4 @@ memory-hotplug-solve-config-broken-undefined-reference-to-online_page.patch dvb-fix-budget-av-frontend-detection.patch dvb-fix-ci-on-old-knc1-dvbc-cards.patch dvb-fix-ci-interface-on-pro-knc1-cards.patch +pnp-suppress-request_irq-warning.patch