mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
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:
parent
c9dff6b5aa
commit
db6aa82a10
@ -119,7 +119,7 @@ memp_sanity(const struct memp_desc *desc)
|
|||||||
* (e.g. the restricted area after it has been altered)
|
* (e.g. the restricted area after it has been altered)
|
||||||
*
|
*
|
||||||
* @param p the memp element to check
|
* @param p the memp element to check
|
||||||
* @param memp_type the pool p comes from
|
* @param desc the pool p comes from
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
memp_overflow_check_element_overflow(struct memp *p, const struct memp_desc *desc)
|
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)
|
* (e.g. the restricted area before it has been altered)
|
||||||
*
|
*
|
||||||
* @param p the memp element to check
|
* @param p the memp element to check
|
||||||
* @param memp_type the pool p comes from
|
* @param desc the pool p comes from
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
memp_overflow_check_element_underflow(struct memp *p, const struct memp_desc *desc)
|
memp_overflow_check_element_underflow(struct memp *p, const struct memp_desc *desc)
|
||||||
|
Loading…
Reference in New Issue
Block a user