Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144354
b: refs/heads/master
c: 53951bd
h: refs/heads/master
v: v3
  • Loading branch information
Robert Moore authored and Linus Torvalds committed May 2, 2009
1 parent a5da112 commit c7aab89
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 091438dd5668396328a3419abcbc6591159eb8d1
refs/heads/master: 53951bd57dfe2da58f86cdf276719082d80d8485
7 changes: 7 additions & 0 deletions trunk/drivers/acpi/acpica/rscalc.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,13 @@ acpi_rs_get_pci_routing_table_length(union acpi_operand_object *package_object,

package_element = *top_object_list;

/* We must have a valid Package object */

if (!package_element ||
(package_element->common.type != ACPI_TYPE_PACKAGE)) {
return_ACPI_STATUS (AE_AML_OPERAND_TYPE);
}

/*
* The sub_object_list will now point to an array of the
* four IRQ elements: Address, Pin, Source and source_index
Expand Down

0 comments on commit c7aab89

Please sign in to comment.