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-07-05 15:11:30 +02:00
2021-05-10 15:31:42 +02:00
2021-07-09 17:22:42 +02:00
2021-06-04 09:38:08 +02:00
2021-07-10 08:30:59 +02:00
2021-05-11 15:17:55 +02:00
2021-06-24 15:34:45 +02:00
2021-07-09 23:31:54 +02:00