powerpc: Fix comment typos in hotplug-memory.c
authorLi Zhong <zhong@linux.vnet.ibm.com>
Thu, 7 Aug 2014 05:11:58 +0000 (13:11 +0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 26 Aug 2014 07:35:55 +0000 (09:35 +0200)
bae->base
niumber->number

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/powerpc/platforms/pseries/hotplug-memory.c

index 7995135170a31a35a7824703f72fe26b93b145a7..369da0f09066c4215314a0173940ab994506c469 100644 (file)
@@ -126,7 +126,7 @@ static int pseries_remove_mem_node(struct device_node *np)
                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);
        if (!regs)
@@ -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
         * 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.
         */
        entries = *p++;