* [PATCH] mm/memblock.c: name the local variable of memblock_type as type
@ 2015-02-15 10:11 Baoquan He
0 siblings, 0 replies; only message in thread
From: Baoquan He @ 2015-02-15 10:11 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, Baoquan He
A small clean up. Seems in commit e3239ff9 [memblock: Rename
memblock_region to memblock_type and memblock_property to memblock_region]
this one was missed.
Signed-off-by: Baoquan He <bhe@redhat.com>
---
mm/memblock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memblock.c b/mm/memblock.c
index 252b77b..3f37a0b 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -699,14 +699,14 @@ static int __init_memblock memblock_reserve_region(phys_addr_t base,
int nid,
unsigned long flags)
{
- struct memblock_type *_rgn = &memblock.reserved;
+ struct memblock_type *type = &memblock.reserved;
memblock_dbg("memblock_reserve: [%#016llx-%#016llx] flags %#02lx %pF\n",
(unsigned long long)base,
(unsigned long long)base + size - 1,
flags, (void *)_RET_IP_);
- return memblock_add_range(_rgn, base, size, nid, flags);
+ return memblock_add_range(type, base, size, nid, flags);
}
int __init_memblock memblock_reserve(phys_addr_t base, phys_addr_t size)
--
1.8.5.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-15 10:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-15 10:11 [PATCH] mm/memblock.c: name the local variable of memblock_type as type Baoquan He
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).