[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1377654240.2005.32.camel@jtkirshe-mobl>
Date: Tue, 27 Aug 2013 18:44:00 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Joe Perches <joe@...ches.com>
Cc: netdev@...r.kernel.org, e1000-devel@...ts.sourceforge.net,
users@...x00.serialmonkey.com, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org, b43-dev@...ts.infradead.org
Subject: Re: [E1000-devel] [PATCH net-next] drivers:net: Convert
dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent
On Mon, 2013-08-26 at 22:45 -0700, Joe Perches wrote:
> __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@...ches.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists