resource-manager: Fix checking attribute and control id validation 13/296613/8 accepted/tizen/unified/riscv/20230809.013303
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 2 Aug 2023 05:53:23 +0000 (14:53 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 8 Aug 2023 07:58:00 +0000 (16:58 +0900)
commitb5be30f5b3f223d1966d501778733ddd35cab818
treeea7b565f684ef945845de8cc7bc561c8d4b7bb82
parentd089655f7fea15d3dd5b570ded9e83ebd4b82bbe
resource-manager: Fix checking attribute and control id validation

In order to prevent misbehavior during code genenration or
optimization for builtin function clzll of gcc due to undefined
operation, this fixes condition for checking attribute and control id
of resources properly.

Change-Id: Icef57b1ec27c54afdaf1ef93c94a069c4d8855be
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/resource-manager/resource-manager.c