mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
a74f436757
If rapl_package_register_powercap() fails in rapl_add_package() the function happily returns 0. Capture the error code and propagate it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
||
---|---|---|
.. | ||
intel_rapl.c | ||
Kconfig | ||
Makefile | ||
powercap_sys.c |