summaryrefslogtreecommitdiffstats
path: root/lib/lcm.c
diff options
context:
space:
mode:
authorSriharsha Basavapatna <sriharsha.basavapatna@avagotech.com>2015-06-05 12:03:59 +0200
committerDavid S. Miller <davem@davemloft.net>2015-06-08 00:35:11 +0200
commite51000db4c880165eab06ec0990605f24e75203f (patch)
tree09ef9f59b2984e5378ba5b95a4a1fffda3bf05e4 /lib/lcm.c
parentbridge: use _bh spinlock variant for br_fdb_update to avoid lockup (diff)
downloadlinux-e51000db4c880165eab06ec0990605f24e75203f.tar.xz
linux-e51000db4c880165eab06ec0990605f24e75203f.zip
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 <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>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions