diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2010-04-30 18:09:37 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-05-02 15:42:34 -0400 |
commit | 6e51f085f64a79c7647e88a8a019b7bd84f42255 (patch) | |
tree | 68f12d1b527fff00e215923791e838743de33e88 /drivers/scsi/a3000.c | |
parent | 64deb6efdc5504ce97b5c1c6f281fffbc150bd93 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/a3000.c')
0 files changed, 0 insertions, 0 deletions