mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 19:16:37 +07:00
216c4e9db4
In the current code we accidentally return the successful result from
idr_alloc() instead of a negative error pointer. The caller is looking
for an error pointer and so it treats the returned value as a valid
pointer.
This one might be a bit serious because if it lets people get around the
kernel's protection for remapping NULL. I'm not sure.
Fixes:
|
||
---|---|---|
.. | ||
intel_rapl.c | ||
Kconfig | ||
Makefile | ||
powercap_sys.c |