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

Message ID 20230120055727.355483-1-gshan@redhat.com
Headers
Series drivers/base/memory: Two small cleanups |

Message

Gavin Shan Jan. 20, 2023, 5:57 a.m. UTC
  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(-)