projects
/
platform
/
core
/
system
/
libsyscommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8f024
)
resource-manager: Check associated get ops correctly
49/300049/2
author
Youngjae Cho
<y0.cho@samsung.com>
Mon, 16 Oct 2023 06:21:12 +0000
(15:21 +0900)
committer
Youngjae Cho
<y0.cho@samsung.com>
Tue, 7 Nov 2023 03:49:33 +0000
(12:49 +0900)
Change-Id: I2c7ae3b4b295f2fbdfe8ed60f2b1cb2a4c3a17dc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/resource-manager/resource-manager.c
patch
|
blob
|
history
diff --git
a/src/resource-manager/resource-manager.c
b/src/resource-manager/resource-manager.c
index
9d1a664
..
2e6eecf
100644
(file)
--- a/
src/resource-manager/resource-manager.c
+++ b/
src/resource-manager/resource-manager.c
@@
-513,7
+513,7
@@
update_resource_attr_with_1_user_data(struct syscommon_resman_resource *resource
attr = &resource->attrs[attr_index];
- if (!attr->ops.get)
+ if (!attr->ops.get
_with_1_user_data
)
return -EINVAL;
attr_value = &resource->attrs_value[attr_index];
@@
-545,7
+545,7
@@
update_resource_attr_with_2_user_data(struct syscommon_resman_resource *resource
attr = &resource->attrs[attr_index];
- if (!attr->ops.get)
+ if (!attr->ops.get
_with_2_user_data
)
return -EINVAL;
attr_value = &resource->attrs_value[attr_index];