Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165171
b: refs/heads/master
c: e5b8fc6
h: refs/heads/master
i:
  165169: ac0a0c0
  165167: 36d71c6
v: v3
  • Loading branch information
Len Brown committed Aug 28, 2009
1 parent 4cbf24d commit 1d36c5e
Show file tree
Hide file tree
Showing 2 changed files with 7 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: f4a2d5840e9f0e48d1a787b66e7346087a756029
refs/heads/master: e5b8fc6ac158f65598f58dba2c0d52ba3b412f52
6 changes: 6 additions & 0 deletions trunk/drivers/acpi/tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ acpi_table_parse_entries(char *id,
unsigned long table_end;
acpi_size tbl_size;

if (acpi_disabled)
return -ENODEV;

if (!handler)
return -EINVAL;

Expand Down Expand Up @@ -277,6 +280,9 @@ int __init acpi_table_parse(char *id, acpi_table_handler handler)
struct acpi_table_header *table = NULL;
acpi_size tbl_size;

if (acpi_disabled)
return -ENODEV;

if (!handler)
return -EINVAL;

Expand Down

0 comments on commit 1d36c5e

Please sign in to comment.