OpenCloudOS-Kernel/drivers/net/ethernet/qlogic/qlcnic
Joe Perches ede23fa816 drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent
__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>
2013-08-29 21:55:23 -04:00
..
Makefile qlcnic: dcb: Query adapter DCB capabilities. 2013-08-27 15:21:13 -04:00
qlcnic.h qlcnic: underflow in qlcnic_validate_max_tx_rings() 2013-08-29 01:24:08 -04:00
qlcnic_83xx_hw.c qlcnic: dcb: Register DCB AEN handler. 2013-08-27 15:21:14 -04:00
qlcnic_83xx_hw.h qlcnic: Implement ndo_get_phys_port_id for 82xx adapter 2013-08-21 12:17:18 -07:00
qlcnic_83xx_init.c qlcnic: dcb: Query adapter DCB capabilities. 2013-08-27 15:21:13 -04:00
qlcnic_83xx_vnic.c qlcnic: Add support for 83xx suspend and resume. 2013-06-23 18:29:59 -07:00
qlcnic_ctx.c drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
qlcnic_dcb.c qlcnic: dcb: Add support for CEE Netlink interface. 2013-08-27 15:21:14 -04:00
qlcnic_dcb.h qlcnic: dcb: Add support for CEE Netlink interface. 2013-08-27 15:21:14 -04:00
qlcnic_ethtool.c qlcnic: Enable diagnostic test for multiple Tx queues. 2013-08-21 12:17:18 -07:00
qlcnic_hdr.h qlcnic: Secondary unicast MAC address support. 2013-06-23 18:29:58 -07:00
qlcnic_hw.c qlcnic: Implement ndo_get_phys_port_id for 82xx adapter 2013-08-21 12:17:18 -07:00
qlcnic_hw.h qlcnic: dcb: Register DCB AEN handler. 2013-08-27 15:21:14 -04:00
qlcnic_init.c qlcnic: Enable diagnostic test for multiple Tx queues. 2013-08-21 12:17:18 -07:00
qlcnic_io.c qlcnic: dcb: Register DCB AEN handler. 2013-08-27 15:21:14 -04:00
qlcnic_main.c qlcnic: underflow in qlcnic_validate_max_tx_rings() 2013-08-29 01:24:08 -04:00
qlcnic_minidump.c qlcnic: Fix dump template version mask 2013-07-19 17:08:16 -07:00
qlcnic_sriov.h qlcnic: Add support for 83xx suspend and resume. 2013-06-23 18:29:59 -07:00
qlcnic_sriov_common.c qlcnic: dcb: Query adapter DCB capabilities. 2013-08-27 15:21:13 -04:00
qlcnic_sriov_pf.c qlcnic: dcb: Register DCB AEN handler. 2013-08-27 15:21:14 -04:00
qlcnic_sysfs.c qlcnic: Fix beacon state return status handling 2013-08-15 14:35:00 -07:00