mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 20:03:33 -04:00
mm: cma: Print region name on failure
Print the name of the cma region for convienience. Change-Id: Ia7ac64d5257ab5be7f03a51173af01c6a9109335 Signed-off-by: Patrick Daly <pdaly@codeaurora.org> Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
915d2b2efe
commit
45422bc880
1 changed files with 2 additions and 2 deletions
4
mm/cma.c
4
mm/cma.c
|
|
@ -554,8 +554,8 @@ struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align,
|
|||
}
|
||||
|
||||
if (ret && !no_warn) {
|
||||
pr_err("%s: alloc failed, req-size: %zu pages, ret: %d\n",
|
||||
__func__, count, ret);
|
||||
pr_err("%s: %s: alloc failed, req-size: %zu pages, ret: %d\n",
|
||||
__func__, cma->name, cma->count, ret);
|
||||
cma_debug_show_areas(cma);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue