Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359770
b: refs/heads/master
c: c8165dc
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Zhang Rui committed Feb 6, 2013
1 parent 213b1bf commit 291b69b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ad9524a15126c24fc37922f56a0fb5dd03c218f
refs/heads/master: c8165dc0ea75855b0bff6e5edbe4957b8a63d021
2 changes: 1 addition & 1 deletion trunk/drivers/thermal/intel_powerclamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ static int start_power_clamp(void)
return -EINVAL;
}

set_target_ratio = clamp(set_target_ratio, 0U, MAX_TARGET_RATIO);
set_target_ratio = clamp(set_target_ratio, 0U, MAX_TARGET_RATIO - 1);
/* prevent cpu hotplug */
get_online_cpus();

Expand Down

0 comments on commit 291b69b

Please sign in to comment.