Skip to content
Commit da83a722 authored by Fredrik Noring's avatar Fredrik Noring Committed by Christoph Hellwig
Browse files

lib/genalloc: add gen_pool_dma_zalloc() for zeroed DMA allocations



gen_pool_dma_zalloc() is a zeroed memory variant of
gen_pool_dma_alloc().  Also document the return values of both, and
indicate NULL as a "%NULL" constant.

Signed-off-by: default avatarFredrik Noring <noring@nocrew.org>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent dd3dcede
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment