mm/memblock: Add MEMBLOCK_RSRV_NOINIT into flagname[] array
PATCH 1/1 mm/memblock: Add MEMBLOCK_RSRV_NOINIT into flagname[] array
The commit 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag") skipped adding this newly introduced memblock flag into flagname[] array, thus preventing a correct memblock flags output for applicable memblock regions.
Cc Mike Rapoport <[email protected]>
Cc Andrew Morton <[email protected]>
Signed-off-by Anshuman Khandual <[email protected]>
---
This applies on v6.8-rc3
mm/memblock.c | 1 + 1 file changed, 1 insertion(+)
mm/memblock.c +1 -0
@@ -2249,6 +2249,7 @@ static const char * const flagname[] = { [ilog2(MEMBLOCK_MIRROR)] = "MIRROR", [ilog2(MEMBLOCK_NOMAP)] = "NOMAP", [ilog2(MEMBLOCK_DRIVER_MANAGED)] = "DRV_MNG", + [ilog2(MEMBLOCK_RSRV_NOINIT)] = "RSV_NIT", };static int memblock_debug_show (struct seq_file *m,void *private)
Signature · 1 line
2.25.1
Quoted 10 lines · Anshuman Khandual
The commit
77e6c43e137c("memblock: introduceMEMBLOCK_RSRV_NOINITflag") skipped adding this newly introduced memblock flag into flagname[] array, thus preventing a correct memblock flags output for applicable memblock regions.Cc Mike Rapoport <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Anshuman Khandual <[email protected]>
Fixes 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag")
Reviewed-by Mike Rapoport (IBM) <[email protected]>
Quoted 21 lines
---
This applies on v6.8-rc3mm/memblock.c | 1 + 1 file changed, 1 insertion(+)mm/memblock.c +1
-0@@ -2249,6 +2249,7 @@ static const char * const flagname[] = { [ilog2(MEMBLOCK_MIRROR)] = "MIRROR", [ilog2(MEMBLOCK_NOMAP)] = "NOMAP", [ilog2(MEMBLOCK_DRIVER_MANAGED)] = "DRV_MNG", + [ilog2(MEMBLOCK_RSRV_NOINIT)] = "RSV_NIT", };static int memblock_debug_show (struct seq_file *m,void *private)Signature · 1 line
2.25.1
Signature · 2 lines
Sincerely yours, Mike.