All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cma: do some clean up
@ 2013-08-05  8:30 ` Xishi Qiu
  0 siblings, 0 replies; 2+ messages in thread
From: Xishi Qiu @ 2013-08-05  8:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Andrew Morton; +Cc: linux-mm, LKML

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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 0/2] cma: do some clean up
@ 2013-08-05  8:30 ` Xishi Qiu
  0 siblings, 0 replies; 2+ messages in thread
From: Xishi Qiu @ 2013-08-05  8:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Andrew Morton; +Cc: linux-mm, LKML

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-05  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05  8:30 [PATCH 0/2] cma: do some clean up Xishi Qiu
2013-08-05  8:30 ` Xishi Qiu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.