Skip to content
Commit b232a70a authored by Wei Yongjun's avatar Wei Yongjun Committed by Wim Van Sebroeck
Browse files

watchdog: move the dereference below the NULL test

The dereference should be moved below the NULL test.

spatch with a semantic match is used to found this.
(http://coccinelle.lip6.fr/

)

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 308b135e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment