Skip to contentSkip to conversation

Fix some obvious typoes across multiple subsystems.

PATCH In review Robert P. J. Day 2 participants 2 messages Aug 21, 2013 – Sep 21, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix some obvious typoes across multiple subsystems.

Typoes fixed:

"partion" -> "partition"
"retrive", "retreive" -> "retrieve"
"th" -> "to"

---

just my pedantic nature getting the best of me, not sure if folks
preferred i submit these on a per-subsystem basis and CC all relevant maintainers. if so, i can resubmit.

common/cmd_gpt.c +2 -2
index 06767aa..a46f5cc 100644
@@ -161,7 +161,7 @@ static int set_gpt_info(block_dev_desc_t *dev_desc,
 	/* allocate memory for partitions */
 	parts = calloc(sizeof(disk_partition_t), p_count);
 
-	/* retrive partions data from string */
+	/* retrieve partitions data from string */
 	for (i = 0; i < p_count; i++) {
 		tok = strsep(&s, ";");
 
@@ -316,7 +316,7 @@ static int do_gpt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
 U_BOOT_CMD(gpt, CONFIG_SYS_MAXARGS, 1, do_gpt,
 	"GUID Partition Table",
-	"<command> <interface> <dev> <partions_list>\n"
+	"<command> <interface> <dev> <partitions_list>\n"
 	" - GUID partition table restoration\n"
 	" Restore GPT information on a device connected\n"
 	" to interface\n"
common/cmd_mmc.c +2 -2
index 1cdeb44..67a94a7 100644
@@ -260,7 +260,7 @@ static int do_mmcops(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 				if (!ret)
 					mmc->part_num = part;
 
-				printf("switch to partions #%d, %s\n",
+				printf("switch to partitions #%d, %s\n",
 						part, (!ret) ? "OK" : "ERROR");
 			}
 		}
@@ -421,7 +421,7 @@ U_BOOT_CMD(
 	"mmc close <dev> <boot_partition>\n"
 	" - Enable boot_part for booting and disable access to boot_part\n"
 	"mmc bootpart <device num> <boot part size MB> <RPMB part size MB>\n"
-	" - change sizes of boot and RPMB partions of specified device\n"
+	" - change sizes of boot and RPMB partitions of specified device\n"
 #endif
 	);
 #endif /* !CONFIG_GENERIC_MMC */
common/cmd_mtdparts.c +1 -1
index 3023479..38a6e6d 100644
@@ -420,7 +420,7 @@ static int part_validate(struct mtdids *id, struct part_info *part)
 }
 
 /**
- * Delete selected partition from the partion list of the specified device.
+ * Delete selected partition from the partition list of the specified device.
  *
  * @param dev device to delete partition from
  * @param part partition to delete
common/image-fit.c +1 -1
index 199b4ed..7647515 100644
@@ -1331,7 +1331,7 @@ int fit_conf_find_compat(const void *fit, const void *fdt)
  *
  * When NULL is provided in second argument fit_conf_get_node() will search
  * for a default configuration node instead. Default configuration node unit
- * name is retrived from FIT_DEFAULT_PROP property of the '/configurations'
+ * name is retrieved from FIT_DEFAULT_PROP property of the '/configurations'
  * node.
  *
  * returns:
drivers/block/sym53c8xx.c +1 -1
index c538e37..6f1ac85 100644
@@ -248,7 +248,7 @@ void scsi_print_error (ccb * pccb)
 
 /******************************************************************************
  * sets-up the SCSI controller
- * the base memory address is retrived via the pci_read_config_dword
+ * the base memory address is retrieved via the pci_read_config_dword
  */
 void scsi_low_level_init(int busdevfunc)
 {
include/libfdt.h +2 -2
index 765d84f..9eefaaf 100644
@@ -596,9 +596,9 @@ const char *fdt_get_alias_namelen(const void *fdt,
 				  const char *name, int namelen);
 
 /**
- * fdt_get_alias - retreive the path referenced by a given alias
+ * fdt_get_alias - retrieve the path referenced by a given alias
  * @fdt: pointer to the device tree blob
- * @name: name of the alias th look up
+ * @name: name of the alias to look up
  *
  * fdt_get_alias() retrieves the value of a given alias.  That is, the
  * value of the property named 'name' in the node /aliases.
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

[U-Boot] Fix some obvious typos across multiple subsystems.

Quoted 7 lines · Robert P. J. Day

Typoes fixed:

"partion" -> "partition"
"retrive", "retreive" -> "retrieve"
"th" -> "to"

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130921/abb3b150/attachment.pgp>