mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 07:44:54 +07:00
490cad5a3a
In case setup_hifcpubiuctrl_regs() returns an error, because of e.g:
an unsupported CPU type, just catch that error and return instead of
blindly continuing with the initialization. This fixes a NULL pointer
de-reference with the code continuing without having a proper array of
registers to use.
Fixes:
|
||
---|---|---|
.. | ||
brcmstb | ||
bcm2835-power.c | ||
Kconfig | ||
Makefile | ||
raspberrypi-power.c |