Tag: cfca31ce789963c0dd6ca2e9cc13b90cc2802fbd

[PATCH 2/11] drivers/watchdog: Eliminate a NULL pointer dereference

Author: Julia Lawall <julia@diku.dk> At the point of the call to dev_err, wm8350 is NULL. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ expression E,E1; identifier f; statement S1,S2,S3; @@ if ((E == NULL && …) || …) { … when != if (…) S1 …

Continue reading