diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-07-08 15:12:16 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-07-16 23:51:26 +0200 |
commit | 7f0fa40f5a587c2a026de776cc6a26373ac0f244 (patch) | |
tree | 57046717975bec510427c18c3dfb587f49984a16 /block/blk-mq-tag.h | |
parent | 8101f99703048ceaa31c756abe1098d099249ad9 (diff) |
cpufreq: Properly handle errors from cpufreq_init_policy()
cpufreq_init_policy() can fail, and we don't do anything except a call
to ->exit() on that. The policy should be freed if this happens.
Do it properly.
Reported-and-tested-by: "Jon Medhurst (Tixy)" <tixy@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'block/blk-mq-tag.h')
0 files changed, 0 insertions, 0 deletions