Message ID | 20250214063504.617906-3-gshan@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | drivers/base/memory: Two cleanups | expand |
On 14.02.25 07:35, Gavin Shan wrote: > Replace @blocks with @memory_blocks to match with the definition > of struct memory_group. > > Signed-off-by: Gavin Shan <gshan@redhat.com> > --- > include/linux/memory.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/memory.h b/include/linux/memory.h > index c0afee5d126e..12daa6ec7d09 100644 > --- a/include/linux/memory.h > +++ b/include/linux/memory.h > @@ -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 Acked-by: David Hildenbrand <david@redhat.com>
diff --git a/include/linux/memory.h b/include/linux/memory.h index c0afee5d126e..12daa6ec7d09 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h @@ -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
Replace @blocks with @memory_blocks to match with the definition of struct memory_group. Signed-off-by: Gavin Shan <gshan@redhat.com> --- include/linux/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)