commit | 8cb708f3d35e78f00528caf2f681900d2c7883b8 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sun Dec 20 12:15:52 2015 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Dec 30 10:34:13 2015 +0100 |
tree | 0f85dd1a1582d9a2db90cf1732f8817038bc5ac1 | |
parent | 11b64c8acca05d7e50a873e0e8758b75d6d6650f [diff] |
s390/cio: add NULL test Add NULL test on call to kzalloc. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x; identifier fld; @@ * x = kzalloc(...); ... when != x == NULL x->fld // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>