From 3840c2a14bc0dae7102e4d0bc8b421a10c1228f0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 9 Apr 2015 16:13:03 -0600 Subject: [PATCH] Fix several typos in comments --- arch/arm/src/armv7-m/up_mpu.c | 2 +- arch/arm/src/efm32/efm32_usbhost.c | 2 +- arch/arm/src/stm32/stm32_otgfshost.c | 2 +- arch/arm/src/stm32/stm32_otghshost.c | 2 +- configs/pic32mz-starterkit/src/pic32mz-starterkit.h | 2 +- libc/signal/sig_set.c | 2 +- net/icmpv6/icmpv6_autoconfig.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/src/armv7-m/up_mpu.c b/arch/arm/src/armv7-m/up_mpu.c index 233e621477..91113dc21b 100644 --- a/arch/arm/src/armv7-m/up_mpu.c +++ b/arch/arm/src/armv7-m/up_mpu.c @@ -307,7 +307,7 @@ uint32_t mpu_subregion(uintptr_t base, size_t size, uint8_t l2size) ret = mpu_subregion_ms(size + offset, l2size); - /* Then OR in the mask need to handle disabled subretinos at the beginning + /* Then OR in the mask need to handle disabled subregions at the beginning * of the region. */ diff --git a/arch/arm/src/efm32/efm32_usbhost.c b/arch/arm/src/efm32/efm32_usbhost.c index 421472203a..bcb8557921 100644 --- a/arch/arm/src/efm32/efm32_usbhost.c +++ b/arch/arm/src/efm32/efm32_usbhost.c @@ -986,7 +986,7 @@ static int efm32_chan_wait(FAR struct efm32_usbhost_s *priv, flags = irqsave(); - /* Loop, testing for an end of transfer conditino. The channel 'result' + /* Loop, testing for an end of transfer condition. The channel 'result' * was set to EBUSY and 'waiter' was set to true before the transfer; 'waiter' * will be set to false and 'result' will be set appropriately when the * tranfer is completed. diff --git a/arch/arm/src/stm32/stm32_otgfshost.c b/arch/arm/src/stm32/stm32_otgfshost.c index 1d700c5ad0..9cc4c5e35d 100644 --- a/arch/arm/src/stm32/stm32_otgfshost.c +++ b/arch/arm/src/stm32/stm32_otgfshost.c @@ -991,7 +991,7 @@ static int stm32_chan_wait(FAR struct stm32_usbhost_s *priv, flags = irqsave(); - /* Loop, testing for an end of transfer conditino. The channel 'result' + /* Loop, testing for an end of transfer condition. The channel 'result' * was set to EBUSY and 'waiter' was set to true before the transfer; 'waiter' * will be set to false and 'result' will be set appropriately when the * tranfer is completed. diff --git a/arch/arm/src/stm32/stm32_otghshost.c b/arch/arm/src/stm32/stm32_otghshost.c index 97025c90fd..a50fa164fa 100644 --- a/arch/arm/src/stm32/stm32_otghshost.c +++ b/arch/arm/src/stm32/stm32_otghshost.c @@ -991,7 +991,7 @@ static int stm32_chan_wait(FAR struct stm32_usbhost_s *priv, flags = irqsave(); - /* Loop, testing for an end of transfer conditino. The channel 'result' + /* Loop, testing for an end of transfer condition. The channel 'result' * was set to EBUSY and 'waiter' was set to true before the transfer; 'waiter' * will be set to false and 'result' will be set appropriately when the * tranfer is completed. diff --git a/configs/pic32mz-starterkit/src/pic32mz-starterkit.h b/configs/pic32mz-starterkit/src/pic32mz-starterkit.h index 0aa2855f45..cf21217236 100644 --- a/configs/pic32mz-starterkit/src/pic32mz-starterkit.h +++ b/configs/pic32mz-starterkit/src/pic32mz-starterkit.h @@ -112,7 +112,7 @@ # undef PIC32MZ_HAVE_MMCSD # endif - /* Use the minor number selected in the NSH configuratino */ + /* Use the minor number selected in the NSH configuration */ # ifdef CONFIG_NSH_MMCSDMINOR # define PIC32MZ_MMCSDMINOR CONFIG_NSH_MMCSDMINOR diff --git a/libc/signal/sig_set.c b/libc/signal/sig_set.c index c5f01f5823..a98d7b7ebd 100644 --- a/libc/signal/sig_set.c +++ b/libc/signal/sig_set.c @@ -96,7 +96,7 @@ void (*sigset(int signo, void (*disp)(int)))(int) if (disp != SIG_DFL /* && disp != SIG_IGN */) { - /* Add the signal to the set of signals to be ignored with the signal + /* Add the signal to the set of signals to be ignored when the signal * handler executes. */ diff --git a/net/icmpv6/icmpv6_autoconfig.c b/net/icmpv6/icmpv6_autoconfig.c index 22a570c766..4052fac01e 100644 --- a/net/icmpv6/icmpv6_autoconfig.c +++ b/net/icmpv6/icmpv6_autoconfig.c @@ -362,7 +362,7 @@ int icmpv6_autoconfig(FAR struct net_driver_s *dev) net_unlock(save); /* IPv6 Stateless Autoconfiguration - * Reference: http://www.tcpipguide.com/free/t_IPv6AutoconfiguratinoandRenumbering.htm + * Reference: http://www.tcpipguide.com/free/t_IPv6AutoconfigurationandRenumbering.htm * * The following is a summary of the steps a device takes when using * stateless auto-configuration: