Message ID | 20210208115200.20286-1-georgi.djakov@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mm: cma: Print region name on failure | expand |
diff --git a/mm/cma.c b/mm/cma.c index 23d4a97c834a..9ca6eaa0e52e 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -500,8 +500,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); }