[Intel-wired-lan] [PATCH net-next] ixgb: use dma_zalloc_coherent instead of allocator/memset

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jul 26 18:11:18 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of YueHaibing
> Sent: Thursday, July 19, 2018 7:04 AM
> To: davem at davemloft.net; Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org; YueHaibing <yuehaibing at huawei.com>; intel-
> wired-lan at lists.osuosl.org; linux-kernel at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH net-next] ixgb: use dma_zalloc_coherent
> instead of allocator/memset
> 
> Use dma_zalloc_coherent instead of dma_alloc_coherent followed by
> memset 0.
> 
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> ---
>  drivers/net/ethernet/intel/ixgb/ixgb_main.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list