linux_dsm_epyc7002/drivers/s390
Julia Lawall 8cb708f3d3 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>
2015-12-30 10:34:13 +01:00
..
block block: change ->make_request_fn() and users to return a queue cookie 2015-11-07 10:40:46 -07:00
char s390/cio: add NULL test 2015-12-30 10:34:13 +01:00
cio s390/cio: Change I/O instructions from inline to normal functions 2015-12-18 14:59:37 +01:00
crypto s390: Delete unnecessary checks before the function call "debug_unregister" 2015-11-27 09:24:16 +01:00
net s390/qeth: optimize MAC handling in rx_mode callback 2015-10-07 04:52:04 -07:00
scsi Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-03 15:46:07 -07:00
virtio s390/diag: add a statistic for diagnose calls 2015-10-14 14:32:06 +02:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00