summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-sysfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-22 16:33:43 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-28 13:42:15 +0200
commit274b3f7bf34415eed106e479e4815e897ce5d763 (patch)
treea4b818c5a20d914a52c5525ed0eed8cd4483f4a4 /drivers/ide/ide-sysfs.c
parent23efed6fa7519e29a01f12723b0cfa8118dc87cb (diff)
downloadlwn-274b3f7bf34415eed106e479e4815e897ce5d763.tar.gz
lwn-274b3f7bf34415eed106e479e4815e897ce5d763.zip
dma-contiguous: cleanup dma_alloc_contiguous
Split out a cma_alloc_aligned helper to deal with the "interesting" calling conventions for cma_alloc, which then allows to the main function to be written straight forward. This also takes advantage of the fact that NULL dev arguments have been gone from the DMA API for a while. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Nicolin Chen <nicoleotsuka@gmail.com> Reviewed-by: Barry Song <song.bao.hua@hisilicon.com>
Diffstat (limited to 'drivers/ide/ide-sysfs.c')
0 files changed, 0 insertions, 0 deletions