projects
/
platform
/
core
/
system
/
resourced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3646cf5
)
cpu-sched: Get return value from the non-void function
62/315862/1
accepted/tizen/8.0/unified/20240809.180306
author
Unsung Lee
<unsung.lee@samsung.com>
Wed, 3 Jul 2024 09:02:09 +0000
(18:02 +0900)
committer
Unsung Lee
<unsung.lee@samsung.com>
Thu, 8 Aug 2024 07:52:04 +0000
(16:52 +0900)
Get return value from non-void function to check error.
Change-Id: Idbd8382449368fb5e87f986f1c72345c715c8dcb
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/resource-optimizer/cpu/cpu-sched.c
patch
|
blob
|
history
diff --git
a/src/resource-optimizer/cpu/cpu-sched.c
b/src/resource-optimizer/cpu/cpu-sched.c
index 968fd89d331f8d01ae00ccfae683e6ac9849e6cf..7ff1b521f4cd2994f1741af96966c86de377a96a 100644
(file)
--- a/
src/resource-optimizer/cpu/cpu-sched.c
+++ b/
src/resource-optimizer/cpu/cpu-sched.c
@@
-328,8
+328,7
@@
static int load_cpu_sched_config(void)
static int cpu_sched_parse_config(struct cpu_sched *data)
{
load_cpu_affinity_config(data);
- load_cpu_sched_config();
- return RESOURCED_ERROR_NONE;
+ return load_cpu_sched_config();
}
static int cpu_sched_write_coreset(struct cpuset_info *set)