mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 20:45:39 +07:00
ede23fa816
__GFP_ZERO is an uncommon flag and perhaps is better not used. static inline dma_zalloc_coherent exists so convert the uses of dma_alloc_coherent with __GFP_ZERO to the more common kernel style with zalloc. Remove memset from the static inline dma_zalloc_coherent and add just one use of __GFP_ZERO instead. Trivially reduces the size of the existing uses of dma_zalloc_coherent. Realign arguments as appropriate. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
qlcnic_83xx_hw.c | ||
qlcnic_83xx_hw.h | ||
qlcnic_83xx_init.c | ||
qlcnic_83xx_vnic.c | ||
qlcnic_ctx.c | ||
qlcnic_dcb.c | ||
qlcnic_dcb.h | ||
qlcnic_ethtool.c | ||
qlcnic_hdr.h | ||
qlcnic_hw.c | ||
qlcnic_hw.h | ||
qlcnic_init.c | ||
qlcnic_io.c | ||
qlcnic_main.c | ||
qlcnic_minidump.c | ||
qlcnic_sriov_common.c | ||
qlcnic_sriov_pf.c | ||
qlcnic_sriov.h | ||
qlcnic_sysfs.c | ||
qlcnic.h |