From 96da76a728d5737e05f1ef19c87ec6eb740f2e8c Mon Sep 17 00:00:00 2001 From: WaheedHafez Date: Fri, 19 Nov 2021 18:45:49 +0200 Subject: [PATCH] fix 'kfree' comment in kalloc.c 'kfree' has a parameter named 'pa' but referenced in the comment as 'v'. --- kernel/kalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kalloc.c b/kernel/kalloc.c index fa6a0ac..0699e7e 100644 --- a/kernel/kalloc.c +++ b/kernel/kalloc.c @@ -39,7 +39,7 @@ freerange(void *pa_start, void *pa_end) kfree(p); } -// Free the page of physical memory pointed at by v, +// Free the page of physical memory pointed at by pa, // which normally should have been returned by a // call to kalloc(). (The exception is when // initializing the allocator; see kinit above.)