diff --git a/[refs] b/[refs] index 3a54ebe192fe..237785a0887e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3ad9524a15126c24fc37922f56a0fb5dd03c218f +refs/heads/master: c8165dc0ea75855b0bff6e5edbe4957b8a63d021 diff --git a/trunk/drivers/thermal/intel_powerclamp.c b/trunk/drivers/thermal/intel_powerclamp.c index a85ff38cb4e8..ab3ed907d2c3 100644 --- a/trunk/drivers/thermal/intel_powerclamp.c +++ b/trunk/drivers/thermal/intel_powerclamp.c @@ -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();