[SCSI] zfcp: Zero memory for gpn_ft and adisc requests
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Fri, 30 Apr 2010 16:09:37 +0000 (18:09 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 2 May 2010 19:42:34 +0000 (15:42 -0400)
commit6e51f085f64a79c7647e88a8a019b7bd84f42255
tree68f12d1b527fff00e215923791e838743de33e88
parent64deb6efdc5504ce97b5c1c6f281fffbc150bd93
[SCSI] zfcp: Zero memory for gpn_ft and adisc requests

With debug kernels, the memory allocated with kmem_cache_alloc might
be initialized with the poison values 6b and a5. Use kmem_cache_zalloc
instead of kmem_cache_alloc to get zeroed memory and not send invalid
requests.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_fc.c
This page took 0.024212 seconds and 5 git commands to generate.