aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2016-07-21 21:39:26 +0000
committerRafael J. Wysocki <[email protected]>2016-07-21 21:45:17 +0000
commitabe8bd024e7ac21ad21348c0fea09aefb4e469c7 (patch)
treef2ded02076e86e7cd8fce195c08d2721f4a7e495 /fs/jbd2/commit.c
parentcpufreq: acpi-cpufreq: use cached frequency mapping when possible (diff)
downloadkernel-abe8bd024e7ac21ad21348c0fea09aefb4e469c7.tar.gz
kernel-abe8bd024e7ac21ad21348c0fea09aefb4e469c7.zip
cpufreq: Disallow ->resolve_freq() for drivers providing ->target_index()
The handlers provided by cpufreq core are sufficient for resolving the frequency for drivers providing ->target_index(), as the core already has the frequency table and so ->resolve_freq() isn't required for such platforms. This patch disallows drivers with ->target_index() callback to use the ->resolve_freq() callback. Also, it fixes a potential kernel crash for drivers providing ->target() but no ->resolve_freq(). Fixes: e3c062360870 "cpufreq: add cpufreq_driver_resolve_freq()" Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions