Skip to content

Commit 4f155af

Browse files
Anshuman Khandualakpm00
authored andcommitted
mm/memblock: add MEMBLOCK_RSRV_NOINIT into flagname[] array
The commit 77e6c43 ("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. Link: https://lkml.kernel.org/r/20240209030912.1382251-1-anshuman.khandual@arm.com Fixes: 77e6c43 ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag") Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Mike Rapoport <rppt@kernel.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 678e54d commit 4f155af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/memblock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,6 +2249,7 @@ static const char * const flagname[] = {
22492249
[ilog2(MEMBLOCK_MIRROR)] = "MIRROR",
22502250
[ilog2(MEMBLOCK_NOMAP)] = "NOMAP",
22512251
[ilog2(MEMBLOCK_DRIVER_MANAGED)] = "DRV_MNG",
2252+
[ilog2(MEMBLOCK_RSRV_NOINIT)] = "RSV_NIT",
22522253
};
22532254

22542255
static int memblock_debug_show(struct seq_file *m, void *private)

0 commit comments

Comments
 (0)