Skip to content

cma: do some clean up

Xishi Qiu linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cma: use macro PFN_DOWN when converting size to pagesdrivers/base/dma-contiguous.c+2 -32 replies
2/2cma: adjust goto branch in function cma_create_area()drivers/base/dma-contiguous.c+9 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cma: do some clean up

1. use "PFN_DOWN(r->size)" instead of "r->size >> PAGE_SHIFT".
2. adjust the function structure, one for the success path, the other for the failure path.

Xishi Qiu (2):
cma: use macro PFN_DOWN when converting size to pages
cma: adjust goto branch in function cma_create_area()

 drivers/base/dma-contiguous.c |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)