Re: [PATCH v2 01/14] mips: fix comment about pgtable_init()

From: Philippe Mathieu-Daudé
Date: Wed Mar 22 2023 - 10:51:24 EST


On 21/3/23 15:48, Mike Rapoport wrote:
From: "Mike Rapoport (IBM)" <rppt@xxxxxxxxxx>

Comment about fixrange_init() says that its called from pgtable_init()
while the actual caller is pagetabe_init().

Update comment to match the code.

Signed-off-by: Mike Rapoport (IBM) <rppt@xxxxxxxxxx>
Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>
---
arch/mips/include/asm/fixmap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/include/asm/fixmap.h b/arch/mips/include/asm/fixmap.h
index beea14761cef..b037718d7e8b 100644
--- a/arch/mips/include/asm/fixmap.h
+++ b/arch/mips/include/asm/fixmap.h
@@ -70,7 +70,7 @@ enum fixed_addresses {
#include <asm-generic/fixmap.h>
/*
- * Called from pgtable_init()
+ * Called from pagetable_init()

I'm not sure about the usefulness of this comment; I suppose it
predates git-grep. Anyhow,

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>

*/
extern void fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base);