Re: [PATCH] Introduce dmam_zalloc_coherent()

2017-08-09 Thread Marek Szyprowski
Hi Christoph, On 2017-08-09 15:37, Christoph Hellwig wrote: On Tue, Aug 08, 2017 at 11:15:35AM +0200, Michael Moese wrote: All memory allocation functions have a pendant for allocating zeroed memory, but dmam_alloc_coherent does not have such a pendant. However, it is easier to read dmam_zalloc

Re: [PATCH] Introduce dmam_zalloc_coherent()

2017-08-09 Thread kbuild test robot
Hi Michael, [auto build test ERROR on linus/master] [also build test ERROR on v4.13-rc4 next-20170808] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michael-Moese/Introduce-dmam_zalloc_coherent

Re: [PATCH] Introduce dmam_zalloc_coherent()

2017-08-09 Thread Christoph Hellwig
On Tue, Aug 08, 2017 at 11:15:35AM +0200, Michael Moese wrote: > All memory allocation functions have a pendant for allocating zeroed > memory, but dmam_alloc_coherent does not have such a pendant. > However, it is easier to read dmam_zalloc_coherent than passing an extra > flag or, even worse, see

[PATCH] Introduce dmam_zalloc_coherent()

2017-08-08 Thread Michael Moese
All memory allocation functions have a pendant for allocating zeroed memory, but dmam_alloc_coherent does not have such a pendant. However, it is easier to read dmam_zalloc_coherent than passing an extra flag or, even worse, see memset() after the allocation. This patch adds an inline function dmam