From 9f3673c4da3c2a829fe74f4b950c50568ca937dc Mon Sep 17 00:00:00 2001
From: WaheedHafez <waheed_hafez@yahoo.com>
Date: Fri, 19 Nov 2021 18:45:49 +0200
Subject: 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.)
-- 
cgit v1.2.3