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
Raw File
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
Kconfig
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top