[PATCH 0/2] drivers/base/memory: Two small cleanups

From: Gavin Shan
Date: Fri Jan 20 2023 - 00:58:37 EST


PATCH[1] Fixes comments for phys_index_show() since it's showing
the memory block ID instead of the section ID.
PATCH[2] Use an array to show memory block state in state_show()

Gavin Shan (2):
drivers/base/memory: Fix comments for phys_index_show()
drivers/base/memory: Use array to show memory block state

drivers/base/memory.c | 34 ++++++++--------------------------
1 file changed, 8 insertions(+), 26 deletions(-)

--
2.23.0