Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drivers/base/memory: correct the field name in the header

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>

authored by

Gavin Shan and committed by
Andrew Morton
1a24776f 61659efd

+1 -1
+1 -1
include/linux/memory.h
··· 25 25 /** 26 26 * struct memory_group - a logical group of memory blocks 27 27 * @nid: The node id for all memory blocks inside the memory group. 28 - * @blocks: List of all memory blocks belonging to this memory group. 28 + * @memory_blocks: List of all memory blocks belonging to this memory group. 29 29 * @present_kernel_pages: Present (online) memory outside ZONE_MOVABLE of this 30 30 * memory group. 31 31 * @present_movable_pages: Present (online) memory in ZONE_MOVABLE of this