Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349075
b: refs/heads/master
c: b88a634
h: refs/heads/master
i:
  349073: dce045f
  349071: b9ddeb1
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk authored and Rafael J. Wysocki committed Jan 18, 2013
1 parent 3787f6a commit ee7de6a
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: 6f8c2e7933679f54b6478945dc72e59ef9a3d5e0
refs/heads/master: b88a634a903d9670aa5f2f785aa890628ce0dece
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,9 @@ static int acpi_processor_setup_cpuidle_cx(struct acpi_processor *pr)
return -EINVAL;
}

if (!dev)
return -EINVAL;

dev->cpu = pr->id;

if (max_cstate == 0)
Expand Down

0 comments on commit ee7de6a

Please sign in to comment.