]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drivers/base/memory: correct the field name in the header
authorGavin Shan <gshan@redhat.com>
Tue, 11 Mar 2025 23:30:44 +0000 (09:30 +1000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Mar 2025 05:07:02 +0000 (22:07 -0700)
Replace @blocks with @memory_blocks to match with the definition of struct
memory_group.

Link: https://lkml.kernel.org/r/20250311233045.148943-3-gshan@redhat.com
Signed-off-by: Gavin Shan <gshan@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Oscar Salvador <osalvador@suse.de>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memory.h

index c0afee5d126ef65d420770e1f8669842c499c8de..12daa6ec7d09f2daf0b7a2ea254456b51008facf 100644 (file)
@@ -25,7 +25,7 @@
 /**
  * struct memory_group - a logical group of memory blocks
  * @nid: The node id for all memory blocks inside the memory group.
- * @blocks: List of all memory blocks belonging to this memory group.
+ * @memory_blocks: List of all memory blocks belonging to this memory group.
  * @present_kernel_pages: Present (online) memory outside ZONE_MOVABLE of this
  *                       memory group.
  * @present_movable_pages: Present (online) memory in ZONE_MOVABLE of this