-
由 Sriharsha Basavapatna 提交于
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: NJoerg Roedel <jroedel@suse.de> Tested-by: NJoerg Roedel <jroedel@suse.de> Signed-off-by: NSriharsha Basavapatna <sriharsha.basavapatna@avagotech.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
e51000db