Files
linux/drivers
gaurav jindal 101ef8fff5 drivers: cpufreq: checks to avoid kernel crash in cpufreq_interactive
In cpufreq_governor_interactive, driver throws warning with WARN_ON
for !tunables and event != CPUFREQ_GOV_POLICY_INIT.
In case when tunables is NULL for event other than
CPUFREQ_GOV_POLICY_INIT, kernel will crash as there is no safe check
available before accessing tunables. So to handle such case and avoid
the kernel crash, return -EINVAL if WARN_ON returns TRUE.

Change-Id: I7a3a22d58e3c8a315a1cc1d31143649dc8807dee
Signed-off-by: gaurav jindal <gauravjindal1104@gmail.com>
2017-09-08 20:16:50 +00:00
..
2017-08-07 14:29:16 -07:00
2017-08-07 14:29:16 -07:00
2017-08-30 14:35:43 +02:00
2017-08-06 19:19:41 -07:00
2016-09-24 10:07:35 +02:00
2017-08-07 14:29:16 -07:00
2017-08-30 14:35:43 +02:00
2017-06-07 12:36:01 +02:00
2017-07-05 16:16:58 +02:00
2017-09-07 10:17:02 +02:00
2017-07-27 15:36:54 -07:00
2017-07-05 16:16:58 +02:00
2017-05-15 09:25:05 +02:00
2017-04-21 09:47:01 +02:00
2017-09-04 13:22:07 +02:00
2017-07-21 09:14:57 +02:00
2017-08-29 14:33:50 +02:00
2017-08-07 14:29:16 -07:00
2017-04-06 19:01:38 +00:00
2017-08-24 17:02:36 -07:00