Merge "mm: cma: Print correct request pages"

This commit is contained in:
qctecmdr 2021-03-02 08:39:43 -08:00 • committed by Gerrit - the friendly Code Review server
commit bed5cfbbfb

View file

@ -550,7 +550,7 @@ struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align,
if (ret && !no_warn) {
pr_err("%s: %s: alloc failed, req-size: %zu pages, ret: %d\n",
__func__, cma->name, cma->count, ret);
__func__, cma->name, count, ret);
cma_debug_show_areas(cma);
}