diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-12-20 12:15:52 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-12-30 10:34:13 +0100 |
commit | 8cb708f3d35e78f00528caf2f681900d2c7883b8 (patch) | |
tree | 0f85dd1a1582d9a2db90cf1732f8817038bc5ac1 /net/key/Makefile | |
parent | 11b64c8acca05d7e50a873e0e8758b75d6d6650f (diff) | |
download | linux-next-8cb708f3d35e78f00528caf2f681900d2c7883b8.tar.gz |
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>
Diffstat (limited to 'net/key/Makefile')
0 files changed, 0 insertions, 0 deletions