Since two variable is unsigned so it can be never be less than zero,
but in order to check error case they are needed to be negative.
Change-Id: Ib60fafeee7c1352d6cf3d63e8e4f9c6e6e7f68ce
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
* The number of supported CPU in the same cluster.
* If res_type is PASS_RESOURCE_CPU_ID, it is mandatory.
*/
- unsigned int num_cpus;
+ int num_cpus;
/**
* [optional] Index of first cpu in the same cluster.
* If res_type is PASS_RESOURCE_CPU_ID, it is mandatory.
*/
- unsigned int cpu;
+ int cpu;
/*
* Parsed data from each resource info configuration