Tag: 8cb708f3d35e78f00528caf2f681900d2c7883b8

s390/cio: add NULL test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Add NULL test on call to kzalloc. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; identifier fld; @@ * x = kzalloc(…); … when != x == NULL x->fld // Signed-off-by: Julia Lawall Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky — drivers/s390/char/con3215.c | 2 ++ …

Continue reading