tree 50992fd9c76e85dce85bf57afe9034e37bfcc31b
parent a9bd53bc49ee8984633e57c1d9d45111c58e9457
author Kenji Kaneshige <[EMAIL PROTECTED]> Thu, 28 Jul 2005 22:42:00 -0400
committer Len Brown <[EMAIL PROTECTED]> Fri, 05 Aug 2005 06:20:13 -0400

[ACPI] PNPACPI driver now checks for acpi_register_gsi() errors

Signed-off-by: Kenji Kaneshige <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>

 drivers/pnp/pnpacpi/rsparser.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c
--- a/drivers/pnp/pnpacpi/rsparser.c
+++ b/drivers/pnp/pnpacpi/rsparser.c
@@ -81,7 +81,7 @@ pnpacpi_parse_allocated_irqresource(stru
                i++;
        if (i < PNP_MAX_IRQ) {
                res->irq_resource[i].flags = IORESOURCE_IRQ;  //Also clears 
_UNSET flag
-               if (irq == -1) {
+               if (irq < 0) {
                        res->irq_resource[i].flags |= IORESOURCE_DISABLED;
                        return;
                }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to