[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150607.153534.428168062355309988.davem@davemloft.net>
Date: Sun, 07 Jun 2015 15:35:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sriharsha.basavapatna@...gotech.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] be2net: Replace dma/pci_alloc_coherent() calls
with dma_zalloc_coherent()
From: Sriharsha Basavapatna <sriharsha.basavapatna@...gotech.com>
Date: Fri, 5 Jun 2015 15:33:59 +0530
> 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@...e.de>
> Tested-by: Joerg Roedel <jroedel@...e.de>
> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@...gotech.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists