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 <axel.lin@ingics.com>
This commit is contained in:
Axel Lin 2016-08-26 23:13:05 +08:00 committed by Dirk Ziegelmeier
parent c9dff6b5aa
commit db6aa82a10

View File

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