tree a1bee534fe254106cec916642ae90ebf15cec201
parent a18ecf413ca9846becb760f7f990c2c62c15965e
author Yann Droneaud <[EMAIL PROTECTED]> Tue, 07 Jun 2005 16:54:01 +0200
committer Len Brown <[EMAIL PROTECTED]> Thu, 01 Sep 2005 00:36:24 -0400

[ACPI] check acpi_disabled in IPMI

Signed-off-by: Yann Droneaud <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>

 drivers/char/ipmi/ipmi_si_intf.c |    3 +++
 1 files changed, 3 insertions(+)

diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -1484,6 +1484,9 @@ static int try_init_acpi(int intf_num, s
        char             *io_type;
        u8               addr_space;
 
+       if (acpi_disabled)
+               return -ENODEV;
+
        if (acpi_failure)
                return -ENODEV;
 
-
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