commit | 32c0b2f606a4b71fc7b7cfa479cf47648854d9d9 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Oct 22 22:52:59 2015 +0300 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Oct 26 04:44:17 2015 +0100 |
tree | f5bac7688e5b1f3c24f09ac6b62bdfd21ba80b7c | |
parent | ad806ea66c7cdfa10152c58aa710c9c26ca0d159 [diff] |
ACPI / CPPC: signedness bug in register_pcc_channel() The "pcc_subspace_idx" is -1 if it hasn't been initialized yet. We need it to be signed. Fixes: 337aadff8e45 (ACPI: Introduce CPU performance controls using CPPC) Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Ashwin Chaugule <ashwin.chaugule@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>