Anatoly Burakov
87fb608356
power: fix crash on error for intel_pstate
...
Currently, the error paths can lead to attempts at dereferencing NULL
pointers. Add the check to avoid attempts at dereferencing NULL
pointers.
Coverity issue: 371895
Coverity issue: 371889
Fixes: 06cffd468fdd ("power: refactor ACPI and intel_pstate support")
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2021-07-20 17:24:00 +02:00
..
2021-06-17 09:37:11 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-07-20 14:32:08 +02:00
2021-07-10 10:07:07 +02:00
2021-04-21 14:04:09 +02:00
2021-07-10 11:29:11 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-06-24 15:34:45 +02:00
2021-07-05 15:11:30 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-05-10 15:31:42 +02:00
2021-04-21 16:50:46 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-07-09 17:22:42 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-07-09 22:25:24 +02:00
2021-05-04 22:41:32 +02:00
2021-05-11 15:17:55 +02:00
2021-05-04 09:44:55 +02:00
2021-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-07-02 19:03:03 +02:00
2021-05-11 15:17:55 +02:00
2021-06-04 09:38:08 +02:00
2021-05-11 15:17:55 +02:00
2021-07-10 08:30:59 +02:00
2021-04-21 14:04:09 +02:00
2021-07-20 17:24:00 +02:00
2021-05-11 15:17:55 +02:00
2021-05-11 15:17:55 +02:00
2021-04-21 14:04:09 +02:00
2021-04-21 14:04:09 +02:00
2021-06-24 15:34:45 +02:00
2021-07-09 21:33:01 +02:00
2021-04-21 16:57:18 +02:00
2021-04-21 14:04:09 +02:00
2021-05-11 15:17:55 +02:00
2021-07-09 23:31:54 +02:00
2021-07-07 15:23:53 +02:00
2021-04-21 14:04:09 +02:00
2021-06-30 13:32:38 +02:00
2021-07-02 19:03:03 +02:00