linux_old1/drivers/net/ethernet/oki-semi/pch_gbe
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
..
Kconfig net: pch_gbe depends on x86 2013-07-22 14:43:30 -07:00
Makefile
pch_gbe.h pch_gbe: Add MinnowBoard support 2013-07-25 01:31:52 -07:00
pch_gbe_api.c pch_gbe: convert pr_* to netdev_* 2013-06-28 21:37:48 -07:00
pch_gbe_api.h
pch_gbe_ethtool.c pch_gbe: ethtool cannot change parameters when link is down 2013-08-20 15:05:04 -07:00
pch_gbe_main.c drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
pch_gbe_param.c pch_gbe: convert pr_* to netdev_* 2013-06-28 21:37:48 -07:00
pch_gbe_phy.c pch_gbe: Add MinnowBoard support 2013-07-25 01:31:52 -07:00
pch_gbe_phy.h pch_gbe: Add MinnowBoard support 2013-07-25 01:31:52 -07:00