diff options
author | Sriharsha Basavapatna <[email protected]> | 2015-06-05 15:33:59 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-06-07 15:35:11 -0700 |
commit | e51000db4c880165eab06ec0990605f24e75203f (patch) | |
tree | 09ef9f59b2984e5378ba5b95a4a1fffda3bf05e4 /net/unix/af_unix.c | |
parent | 1d7c49037b12016e7056b9f2c990380e2187e766 (diff) |
be2net: Replace dma/pci_alloc_coherent() calls with dma_zalloc_coherent()
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 <[email protected]>
Tested-by: Joerg Roedel <[email protected]>
Signed-off-by: Sriharsha Basavapatna <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions