Forráskód Böngészése

powerpc: Fix comment typos in hotplug-memory.c

bae->base
niumber->number

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Li Zhong 11 éve
szülő
commit
4646d13199
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      arch/powerpc/platforms/pseries/hotplug-memory.c

+ 2 - 2
arch/powerpc/platforms/pseries/hotplug-memory.c

@@ -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++;