mm: fix some doc warnings in workingset.c
Subsystems (3)
PATCH 1/1 mm: fix some doc warnings in workingset.c
Fix following warnings caused by mismatch bewteen function parameters
and comments.mm/workingset.c:228: warning: Function parameter or member 'lruvec' not described in 'workingset_age_nonresident' mm/workingset.c:228: warning: Excess function parameter 'memcg' description in 'workingset_age_nonresident'
Signed-off-by Xiaofei Tan <[email protected]>
--- mm/workingset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/workingset.c +1 -1
@@ -216,7 +216,7 @@ static void unpack_shadow(void *shadow, int *memcgidp, pg_data_t **pgdat,/** * workingset_age_nonresident - age non-resident entries as LRU ages -* @memcg: the lruvec that was aged +* @lruvec: the lruvec that was aged * @nr_pages: the number of pages to count * * As in-memory pages are aged, non-resident pages need to be aged as
Signature · 1 line
2.8.1