From db6aa82a10a3ccfae4eaebdfc4ceb88bb7d15f14 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 26 Aug 2016 23:13:05 +0800 Subject: [PATCH] memp: Fix comment for memp_overflow_check_element_overflow/underflow These functions now take desc rather than memp_type as second parameter. Signed-off-by: Axel Lin --- src/core/memp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/memp.c b/src/core/memp.c index 94559922..19198eb7 100644 --- a/src/core/memp.c +++ b/src/core/memp.c @@ -119,7 +119,7 @@ memp_sanity(const struct memp_desc *desc) * (e.g. the restricted area after it has been altered) * * @param p the memp element to check - * @param memp_type the pool p comes from + * @param desc the pool p comes from */ static void memp_overflow_check_element_overflow(struct memp *p, const struct memp_desc *desc) @@ -146,7 +146,7 @@ memp_overflow_check_element_overflow(struct memp *p, const struct memp_desc *des * (e.g. the restricted area before it has been altered) * * @param p the memp element to check - * @param memp_type the pool p comes from + * @param desc the pool p comes from */ static void memp_overflow_check_element_underflow(struct memp *p, const struct memp_desc *desc)