mirror of https://gitee.com/openkylin/linux.git
13decfb438
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
card_base.c | ||
card_base.h | ||
card_ddcb.c | ||
card_ddcb.h | ||
card_debugfs.c | ||
card_dev.c | ||
card_sysfs.c | ||
card_utils.c | ||
genwqe_driver.h |