diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-06-20 15:12:37 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-06-20 15:12:37 +1000 |
commit | a7ba9f22c48a7051a71301bf19b5b358d3fc4ceb (patch) | |
tree | a6e2501f543c2ba67257d6819c1d30a005e965c3 | |
parent | 627666c4d71f8210abc971d954b19af0382d024c (diff) | |
download | skiboot-a7ba9f22c48a7051a71301bf19b5b358d3fc4ceb.zip skiboot-a7ba9f22c48a7051a71301bf19b5b358d3fc4ceb.tar.gz skiboot-a7ba9f22c48a7051a71301bf19b5b358d3fc4ceb.tar.bz2 |
Fix typos
Backport of user visible typo fixes
partial cherry picked from 4c95b5e04e3c4f72e4005574f67cd6e365d3276f
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | external/boot-tests/bmc_support.sh | 6 | ||||
-rw-r--r-- | external/gard/gard.c | 2 | ||||
-rw-r--r-- | external/mambo/mambo_utils.tcl | 2 | ||||
-rw-r--r-- | external/opal-prd/hostboot-interface.h | 2 | ||||
-rw-r--r-- | external/opal-prd/i2c.c | 2 | ||||
-rw-r--r-- | external/opal-prd/opal-prd.8 | 2 | ||||
-rw-r--r-- | external/opal-prd/test/test_pnor_ops.c | 2 | ||||
-rw-r--r-- | external/pflash/pflash.c | 6 |
8 files changed, 12 insertions, 12 deletions
diff --git a/external/boot-tests/bmc_support.sh b/external/boot-tests/bmc_support.sh index 610c050..7d9ff4e 100644 --- a/external/boot-tests/bmc_support.sh +++ b/external/boot-tests/bmc_support.sh @@ -69,7 +69,7 @@ function flash { msg "Flashing full PNOR" $SSHCMD "$PFLASH_BINARY -E -f -p /tmp/image.pnor" if [ "$?" -ne "0" ] ; then - error "An unexpected pflash error has occured"; + error "An unexpected pflash error has occurred"; fi fi @@ -77,7 +77,7 @@ function flash { msg "Flashing PAYLOAD PNOR partition" $SSHCMD "$PFLASH_BINARY -e -f -P PAYLOAD -p /tmp/skiboot.lid" if [ "$?" -ne "0" ] ; then - error "An unexpected pflash error has occured"; + error "An unexpected pflash error has occurred"; fi fi @@ -85,7 +85,7 @@ function flash { msg "Flashing BOOTKERNEL PNOR partition" $SSHCMD "$PFLASH_BINARY -e -f -P BOOTKERNEL -p /tmp/bootkernel" if [ "$?" -ne "0" ] ; then - error "An unexpected pflash error has occured"; + error "An unexpected pflash error has occurred"; fi fi } diff --git a/external/gard/gard.c b/external/gard/gard.c index 869ada0..fba824d 100644 --- a/external/gard/gard.c +++ b/external/gard/gard.c @@ -124,7 +124,7 @@ static void show_flash_err(int rc) fprintf(stderr, "libflash ecc invalid\n"); break; default: - fprintf(stderr, "A libflash/libffs error has occured %d\n", rc); + fprintf(stderr, "A libflash/libffs error has occurred %d\n", rc); } } diff --git a/external/mambo/mambo_utils.tcl b/external/mambo/mambo_utils.tcl index ae287dc..66ed5d4 100644 --- a/external/mambo/mambo_utils.tcl +++ b/external/mambo/mambo_utils.tcl @@ -199,7 +199,7 @@ proc mywatch { } { while { [mysim memory display 0x700 8] != 0 } { mysim cycle 1 } - puts "condition occured " + puts "condition occurred " ipc } diff --git a/external/opal-prd/hostboot-interface.h b/external/opal-prd/hostboot-interface.h index 0d268d3..ca2e148 100644 --- a/external/opal-prd/hostboot-interface.h +++ b/external/opal-prd/hostboot-interface.h @@ -181,7 +181,7 @@ struct host_interfaces { * @brief Write to Pnor * @param[in] i_proc: processor Id * @param[in] i_partitionName: name of the partition to write - * @param[in] i_offset: offset withing the partition + * @param[in] i_offset: offset within the partition * @param[in] i_data: pointer to the data to write * @param[in] i_sizeBytes: size of data to write * @retval rc - number of bytes written, or non-zero on error diff --git a/external/opal-prd/i2c.c b/external/opal-prd/i2c.c index 3c7b555..fbe2e9b 100644 --- a/external/opal-prd/i2c.c +++ b/external/opal-prd/i2c.c @@ -149,7 +149,7 @@ int i2c_write(uint32_t chip_id, uint8_t engine, uint8_t port, /* Not all kernel driver versions support breaking up a write into * two components (offset, data), so we coalesce them first and - * issue a single write. The offset is layed out in BE format. + * issue a single write. The offset is laid out in BE format. */ size = offset_size + length; buf = malloc(size); diff --git a/external/opal-prd/opal-prd.8 b/external/opal-prd/opal-prd.8 index f3aa797..72027f5 100644 --- a/external/opal-prd/opal-prd.8 +++ b/external/opal-prd/opal-prd.8 @@ -47,7 +47,7 @@ Note that the daemon must be running in the background here, as a separate process. .PP -Currently, there's one command available, 'occ', for controling the +Currently, there's one command available, 'occ', for controlling the on-chip-controllers. That has 3 possible sub-commands: \fIreset\fP, \fIenable\fP, and \fIdisable\fP. diff --git a/external/opal-prd/test/test_pnor_ops.c b/external/opal-prd/test/test_pnor_ops.c index 7ac471c..fd5e2c2 100644 --- a/external/opal-prd/test/test_pnor_ops.c +++ b/external/opal-prd/test/test_pnor_ops.c @@ -122,7 +122,7 @@ int main(int argc, char **argv) perror("mkstemp"); return EXIT_FAILURE; } - /* So the file dissapears when we exit */ + /* So the file disappears when we exit */ unlink(filename); /* E for empty */ diff --git a/external/pflash/pflash.c b/external/pflash/pflash.c index 057506e..5bb7b77 100644 --- a/external/pflash/pflash.c +++ b/external/pflash/pflash.c @@ -403,7 +403,7 @@ static void enable_4B_addresses(void) rc = arch_flash_4b_mode(bl, true); if (rc) { if (rc == -1) { - fprintf(stderr, "Switching address mode not availible on this architecture\n"); + fprintf(stderr, "Switching address mode not available on this architecture\n"); } else { fprintf(stderr, "Error %d enabling 4b mode\n", rc); } @@ -420,7 +420,7 @@ static void disable_4B_addresses(void) rc = arch_flash_4b_mode(bl, false); if (rc) { if (rc == -1) { - fprintf(stderr, "Switching address mode not availible on this architecture\n"); + fprintf(stderr, "Switching address mode not available on this architecture\n"); } else { fprintf(stderr, "Error %d enabling 4b mode\n", rc); } @@ -475,7 +475,7 @@ static void print_help(const char *pname) printf("\t\tto specify the size to read (or it will use the source\n"); printf("\t\tfile size if used in conjunction with -p and -s is not\n"); printf("\t\tspecified). When using -r together with -e or -p, the\n"); - printf("\t\tread will be peformed first\n\n"); + printf("\t\tread will be performed first\n\n"); printf("\t-E, --erase-all\n"); printf("\t\tErase entire flash chip\n"); printf("\t\t(Not supported on all chips/controllers)\n\n"); |