s5j/watchdog: fix svace warning
authorJunhwan Park <junhwan.park@samsung.com>
Fri, 18 Aug 2017 07:15:55 +0000 (16:15 +0900)
committersunghan <sh924.chang@samsung.com>
Wed, 20 Sep 2017 07:45:46 +0000 (16:45 +0900)
commitec2dcc657ce5dcefe075e5e266fb3fefd79aca4a
tree624bf650e29a8c253faf30cd54154aea6b318273
parent28815c9687e9fec529e9837c26f9687583f48857
s5j/watchdog: fix svace warning

I changed some warnings found in the svace test.
- I added a NULL check on the structure to prevent errors.

Change-Id: I50438ea5df62c7f5d77ecfcb8a00fcddd6200990
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
os/arch/arm/src/s5j/s5j_watchdog_lowerhalf.c
os/arch/arm/src/s5j/s5j_watchdog_lowerhalf.c