diff options
author | Zhang, Yanmin <yanmin_zhang@linux.intel.com> | 2007-06-05 23:44:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 19:02:08 -0400 |
commit | 8d29bfb79e632fe318f4c01c9c2e8faacb89b800 (patch) | |
tree | 696caa373f8340153bd18655ed4f61b035823f16 /drivers/pci/pci-acpi.c | |
parent | f477836457730a2b925f625023ec4e5bf11015be (diff) |
PCI: fix AER driver error information
Below patch fixes aer driver error information and enables aer driver
although CONFIG_ACPI=n.
As a matter of fact, the new patch is created from below 2 patches plus
a minor patch apply fuzz fixing. Because the second patch fixed a compilation
error introduced by the first patch, I merge them to facilitate bisect.
1) http://marc.info/?l=linux-kernel&m=117783233918191&w=2;
2) http://marc.info/?l=linux-mm-commits&m=118046936720790&w=2
Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r-- | drivers/pci/pci-acpi.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index b5ac810404c0..c8062494009f 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -55,8 +55,6 @@ acpi_query_osc ( | |||
55 | 55 | ||
56 | status = acpi_evaluate_object(handle, "_OSC", &input, &output); | 56 | status = acpi_evaluate_object(handle, "_OSC", &input, &output); |
57 | if (ACPI_FAILURE (status)) { | 57 | if (ACPI_FAILURE (status)) { |
58 | printk(KERN_DEBUG | ||
59 | "Evaluate _OSC Set fails. Status = 0x%04x\n", status); | ||
60 | *ret_status = status; | 58 | *ret_status = status; |
61 | return status; | 59 | return status; |
62 | } | 60 | } |
@@ -124,11 +122,9 @@ acpi_run_osc ( | |||
124 | in_params[3].buffer.pointer = (u8 *)context; | 122 | in_params[3].buffer.pointer = (u8 *)context; |
125 | 123 | ||
126 | status = acpi_evaluate_object(handle, "_OSC", &input, &output); | 124 | status = acpi_evaluate_object(handle, "_OSC", &input, &output); |
127 | if (ACPI_FAILURE (status)) { | 125 | if (ACPI_FAILURE (status)) |
128 | printk(KERN_DEBUG | ||
129 | "Evaluate _OSC Set fails. Status = 0x%04x\n", status); | ||
130 | return status; | 126 | return status; |
131 | } | 127 | |
132 | out_obj = output.pointer; | 128 | out_obj = output.pointer; |
133 | if (out_obj->type != ACPI_TYPE_BUFFER) { | 129 | if (out_obj->type != ACPI_TYPE_BUFFER) { |
134 | printk(KERN_DEBUG | 130 | printk(KERN_DEBUG |