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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]