Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117838
b: refs/heads/master
c: f812338
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Len Brown committed Oct 25, 2008
1 parent 6d572e4 commit 93ab167
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92daa7b53b76984565dfdfda5d9c679884121fb2
refs/heads/master: f8123381bae8d581d81f24b55719db3d9a6a262c
3 changes: 3 additions & 0 deletions trunk/drivers/pci/pci-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ static acpi_status acpi_run_osc(acpi_handle handle,
if (ACPI_FAILURE(status))
return status;

if (!output.length)
return AE_NULL_OBJECT;

out_obj = output.pointer;
if (out_obj->type != ACPI_TYPE_BUFFER) {
printk(KERN_DEBUG "Evaluate _OSC returns wrong type\n");
Expand Down

0 comments on commit 93ab167

Please sign in to comment.