提交 4646d131 编写于 作者: L Li Zhong 提交者: Jiri Kosina

powerpc: Fix comment typos in hotplug-memory.c

bae->base
niumber->number
Signed-off-by: NLi Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 9b13494c
...@@ -126,7 +126,7 @@ static int pseries_remove_mem_node(struct device_node *np) ...@@ -126,7 +126,7 @@ static int pseries_remove_mem_node(struct device_node *np)
return 0; return 0;
/* /*
* Find the bae address and size of the memblock * Find the base address and size of the memblock
*/ */
regs = of_get_property(np, "reg", NULL); regs = of_get_property(np, "reg", NULL);
if (!regs) if (!regs)
...@@ -200,7 +200,7 @@ static int pseries_update_drconf_memory(struct of_prop_reconfig *pr) ...@@ -200,7 +200,7 @@ static int pseries_update_drconf_memory(struct of_prop_reconfig *pr)
/* The first int of the property is the number of lmb's described /* The first int of the property is the number of lmb's described
* by the property. This is followed by an array of of_drconf_cell * by the property. This is followed by an array of of_drconf_cell
* entries. Get the niumber of entries and skip to the array of * entries. Get the number of entries and skip to the array of
* of_drconf_cell's. * of_drconf_cell's.
*/ */
entries = *p++; entries = *p++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册