]> git.baikalelectronics.ru Git - kernel.git/commit
ixgb: use dma_zalloc_coherent instead of allocator/memset
authorYueHaibing <yuehaibing@huawei.com>
Thu, 19 Jul 2018 14:04:07 +0000 (22:04 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Aug 2018 15:52:35 +0000 (08:52 -0700)
commitb1f3e54525f31b2f7d9ab16978c8f23beadea196
treefb77f14ff35c3f49cdc7eaae4dc197fbe8139d63
parent9465e7f960446df4d63f8f0ac4d394ddf2724cca
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@huawei.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgb/ixgb_main.c