pass: pmqos: Prevent from accessing variables before initialization 90/116790/5
authorWook Song <wook16.song@samsung.com>
Tue, 28 Feb 2017 06:54:07 +0000 (15:54 +0900)
committerWook Song <wook16.song@samsung.com>
Thu, 9 Mar 2017 05:32:45 +0000 (14:32 +0900)
commit5ef9c9555b3dafccfc493d335230393952ecaf7b
tree628c1534cbcb4963fec67935572167d0a68186ac
parent10b2ca13dcd1b63de08b6dec17324f176fbf3fbe
pass: pmqos: Prevent from accessing variables before initialization

This patch modifies the callback function of DEVICE_NOTIFIER_PMQOS
notifier to prevent from accessing variables before their
initialization.

Change-Id: Idc8a760ec8a6a53a1cfbc34f17626ea6c186ed57
Signed-off-by: Wook Song <wook16.song@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-pmqos.c