linux/drivers/misc/genwqe
Sebastian Ott 13decfb438 misc/genwqe: ensure zero initialization
Genwqe uses dma_alloc_coherent and depends on zero initialized memory. On
one occasion it ueses an explicit memset on others it uses un-initialized
memory.

This bug was covered because some archs actually return zero initialized
memory when using dma_alloc_coherent but this is by no means guaranteed.
Simply switch to dma_zalloc_coherent.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-27 12:43:35 +02:00
..
card_base.c GenWQE: Change default access rights for device node 2016-08-31 14:22:49 +02:00
card_base.h misc: genwqe: fix a comment typo 2015-10-04 12:57:15 +01:00
card_ddcb.c misc/genwqe: ensure zero initialization 2016-09-27 12:43:35 +02:00
card_ddcb.h GenWQE: Update author information 2014-09-23 23:15:46 -07:00
card_debugfs.c GenWQE: Support blocking when DDCB queue is busy 2014-09-23 23:15:47 -07:00
card_dev.c misc/genwqe: get rid of atomic allocations 2015-10-04 12:42:33 +01:00
card_sysfs.c GenWQE: use kobj_to_dev() 2016-02-08 14:57:30 -08:00
card_utils.c misc/genwqe: ensure zero initialization 2016-09-27 12:43:35 +02:00
genwqe_driver.h GenWQE: Update author information 2014-09-23 23:15:46 -07:00
Kconfig GenWQE: Add support for EEH error recovery 2014-07-09 14:14:27 -07:00
Makefile GenWQE Enable driver 2013-12-18 16:51:15 -08:00