pass: resmon: Add missing exception handling to check parameter 06/289706/5
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 8 Mar 2023 21:12:59 +0000 (06:12 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 17 Mar 2023 05:24:21 +0000 (14:24 +0900)
commitafd2a33254dbad893c399e5fa5ab8159a65531fd
tree77f2402dbd1f9ab2f8837113405d1f03d5e7b4ff
parentabb4200900d44b00a70758b35b5b8f2b6e425170
pass: resmon: Add missing exception handling to check parameter

Add missing exception handling to check whether parameter is valid  or not

And fix the wrong function prototype of pass_resmon_unregister_uevent
with the the wrong error log information.

Change-Id: I50d857d00bec6fd4f2404f05a8f392dd36d062b3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-resmon.c
src/pass/pass-resmon.h