https://github.com/torvalds/linux
Revision e51000db4c880165eab06ec0990605f24e75203f authored by Sriharsha Basavapatna on 05 June 2015, 10:03:59 UTC, committed by David S. Miller on 07 June 2015, 22:35:11 UTC
There are several places in the driver (all in control paths) where
coherent dma memory is being allocated using either dma_alloc_coherent()
or the deprecated pci_alloc_consistent(). All these calls should be
changed to use dma_zalloc_coherent() to avoid uninitialized fields in
data structures backed by this memory.

Reported-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 1d7c490
History
Tip revision: e51000db4c880165eab06ec0990605f24e75203f authored by Sriharsha Basavapatna on 05 June 2015, 10:03:59 UTC
be2net: Replace dma/pci_alloc_coherent() calls with dma_zalloc_coherent()
Tip revision: e51000d
File Mode Size
.gitignore -rw-r--r-- 151 bytes
Kconfig -rw-r--r-- 2.9 KB
Makefile -rw-r--r-- 2.3 KB
gen_init_cpio.c -rw-r--r-- 12.7 KB
initramfs_data.S -rw-r--r-- 1.3 KB

back to top