Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:trenn
irqbalance.SUSE_SLE-15-SP5_Update
thermal-Fix-log-message-for-perf-and-efficiency...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thermal-Fix-log-message-for-perf-and-efficiency.patch of Package irqbalance.SUSE_SLE-15-SP5_Update
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Subject: thermal: Fix log message for perf and efficiency References: Patch-Mainline: Git-commit: c91bdf66e1156db0e8171a72a15b6d63148357e4 Git-repo: https://github.com/Irqbalance/irqbalance.git.git In the log message perf and efficiency fields are swapped. So, showing perf field as efficiency and vice versa. Fix this to show correct log message. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: <trenn@suse.com> diff --git a/thermal.c b/thermal.c index 7cd0807..a45568a 100644 --- a/thermal.c +++ b/thermal.c @@ -407,7 +407,7 @@ static int handle_thermal_event(struct nl_msg *msg, void *arg __attribute__((unu need_to_ban = !!(!event_data[INDEX_PERF] && !event_data[INDEX_EFFI]); update_banned_cpus(cur_cpuidx, need_to_ban); - log(TO_ALL, LOG_DEBUG, "thermal: event - CPU %d, efficiency %d, perf %d.\n", + log(TO_ALL, LOG_DEBUG, "thermal: event - CPU %d, perf %d, efficiency %d.\n", cur_cpuidx, event_data[INDEX_PERF], event_data[INDEX_EFFI]); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor