diff --git a/arch/arm/src/kinetis/kinetis_usbdev.c b/arch/arm/src/kinetis/kinetis_usbdev.c index cf91a616f8..7596a7e93f 100644 --- a/arch/arm/src/kinetis/kinetis_usbdev.c +++ b/arch/arm/src/kinetis/kinetis_usbdev.c @@ -1868,7 +1868,7 @@ static void khci_eptransfer(struct khci_usbdev_s *priv, uint8_t epno, * Name: khci_ep0nextsetup * * Description: - * This function is called (1) after sucessful completion of an EP0 Setup + * This function is called (1) after successful completion of an EP0 Setup * command, or (2) after receipt of the OUT complete event (for simple * transfers). It simply sets up the single BDT to accept the next * SETUP commend. diff --git a/arch/mips/src/pic32mx/pic32mx-usbdev.c b/arch/mips/src/pic32mx/pic32mx-usbdev.c index 82b3185181..a0bd850461 100644 --- a/arch/mips/src/pic32mx/pic32mx-usbdev.c +++ b/arch/mips/src/pic32mx/pic32mx-usbdev.c @@ -1785,7 +1785,7 @@ static void pic32mx_eptransfer(struct pic32mx_usbdev_s *priv, uint8_t epno, * Name: pic32mx_ep0nextsetup * * Description: - * This function is called (1) after sucessful completion of an EP0 Setup + * This function is called (1) after successful completion of an EP0 Setup * command, or (2) after receipt of the OUT complete event (for simple * transfers). It simply sets up the single BDT to accept the next * SETUP commend. diff --git a/binfmt/binfmt.h b/binfmt/binfmt.h index 9046cc9cf7..b4e7ee08ef 100644 --- a/binfmt/binfmt.h +++ b/binfmt/binfmt.h @@ -82,7 +82,7 @@ EXTERN FAR struct binfmt_s *g_binfmts; * bin - Load structure * * Returned Value: - * Zero (OK) on success; a negater errno value on failure + * Zero (OK) on success; a negated errno value on failure * ****************************************************************************/ @@ -106,7 +106,7 @@ int dump_module(FAR const struct binary_s *bin); * argv - Argument list * * Returned Value: - * Zero (OK) on success; a negater errno value on failure. + * Zero (OK) on success; a negated errno value on failure. * ****************************************************************************/ diff --git a/binfmt/binfmt_copyargv.c b/binfmt/binfmt_copyargv.c index c3f3dbcc08..d06865b51d 100644 --- a/binfmt/binfmt_copyargv.c +++ b/binfmt/binfmt_copyargv.c @@ -77,7 +77,7 @@ * argv - Argument list * * Returned Value: - * Zero (OK) on sucess; a negater erro value on failure. + * Zero (OK) on success; a negated erro value on failure. * ****************************************************************************/ diff --git a/configs/hymini-stm32v/README.txt b/configs/hymini-stm32v/README.txt index 9a2e0bfdb0..7b7fa26030 100644 --- a/configs/hymini-stm32v/README.txt +++ b/configs/hymini-stm32v/README.txt @@ -37,7 +37,7 @@ ST Bootloader A flash utility must be used on your development workstation to upload / flash a firmware image. (The 'stm32flash' open source tool, available at - http://stm32flash.googlecode.com/ has been used sucessfully). + http://stm32flash.googlecode.com/ has been used successfully). LEDs ==== diff --git a/configs/stm32butterfly2/src/stm32_boot.c b/configs/stm32butterfly2/src/stm32_boot.c index 928b558633..5ceb5d15fa 100644 --- a/configs/stm32butterfly2/src/stm32_boot.c +++ b/configs/stm32butterfly2/src/stm32_boot.c @@ -67,7 +67,7 @@ void stm32_boardinitialize(void) * Initializes upper half drivers with board specific settings * * Returned Value: - * 0 on sucess or errno value of failed init function. + * 0 on success or errno value of failed init function. ****************************************************************************/ int board_app_initialize(uintptr_t arg) diff --git a/configs/z80sim/README.txt b/configs/z80sim/README.txt index b08fb31e06..0d29568fc3 100644 --- a/configs/z80sim/README.txt +++ b/configs/z80sim/README.txt @@ -54,7 +54,7 @@ Configuring NuttX or macOS" which will give you the steps you would need to do to convert this configuration to build in other environments. - 3. This configuration was last verified sucessfully prior to the + 3. This configuration was last verified successfully prior to the the configure to Kconfig/mconf tool using SDCC 2.6.0 built to run natively under Cygwin. The current build requires ca. 3.2.1 SDCC. @@ -96,7 +96,7 @@ Configuring NuttX or macOS" which will give you the steps you would need to do to convert this configuration to build in other environments. - 3. This configuration was last verified sucessfully prior to the + 3. This configuration was last verified successfully prior to the the configure to Kconfig/mconf tool using SDCC 2.6.0 built to run natively under Cygwin.nsh/defconfig:CONFIG_BOARD_LOOPSPERMSEC @@ -139,7 +139,7 @@ Configuring NuttX or macOS" which will give you the steps you would need to do to convert this configuration to build in other environments. - 3. This configuration was last verified sucessfully prior to the + 3. This configuration was last verified successfully prior to the the configure to Kconfig/mconf tool using SDCC 2.6.0 built to run natively under Cygwin.nsh/defconfig:CONFIG_BOARD_LOOPSPERMSEC diff --git a/drivers/analog/pga11x.c b/drivers/analog/pga11x.c index c8adf31494..168199d6ed 100644 --- a/drivers/analog/pga11x.c +++ b/drivers/analog/pga11x.c @@ -348,7 +348,7 @@ PGA11X_HANDLE pga11x_initialize(FAR struct spi_dev_s *spi) * settings - New channel and gain settings * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ @@ -413,7 +413,7 @@ int pga11x_select(PGA11X_HANDLE handle, * settings - New channel and gain settings * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ @@ -467,7 +467,7 @@ int pga11x_uselect(PGA11X_HANDLE handle, int pos, * settings - Returned channel and gain settings * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ @@ -563,7 +563,7 @@ int pga11x_read(PGA11X_HANDLE handle, FAR struct pga11x_settings_s *settings) * settings - Returned channel and gain settings * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ @@ -605,7 +605,7 @@ int pga11x_uread(PGA11X_HANDLE handle, int pos, * spi - An SPI "bottom half" device driver instance * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ @@ -640,7 +640,7 @@ int pga11x_shutdown(PGA11X_HANDLE handle) * pos - Position of the chip in the daisy chain (0 or 1) * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ @@ -681,7 +681,7 @@ int pga11x_ushutdown(PGA11X_HANDLE handle, int pos) * spi - An SPI "bottom half" device driver instance * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ @@ -719,7 +719,7 @@ int pga11x_enable(PGA11X_HANDLE handle) * pos - Position of the chip in the daisy chain (0 or 1) * * Returned Value: - * Zero on sucess; a negated errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ diff --git a/drivers/mtd/mtd_nand.c b/drivers/mtd/mtd_nand.c index 09586f7e1c..7313eac6b8 100644 --- a/drivers/mtd/mtd_nand.c +++ b/drivers/mtd/mtd_nand.c @@ -138,7 +138,7 @@ static int nand_ioctl(struct mtd_dev_s *dev, int cmd, * block - Number of block to check. * * Returned Value: - * OK on success; a negater errno value on failure. + * OK on success; a negated errno value on failure. * ****************************************************************************/ diff --git a/drivers/usbdev/usbmsc.c b/drivers/usbdev/usbmsc.c index 14b735301f..7f6eb48cf9 100644 --- a/drivers/usbdev/usbmsc.c +++ b/drivers/usbdev/usbmsc.c @@ -1780,7 +1780,7 @@ int usbmsc_classobject(FAR void *handle, ret = usbmsc_exportluns(handle); if (ret == OK) { - /* On sucess, return an (typed) instance of the class instance */ + /* On success, return an (typed) instance of the class instance */ *classdev = &alloc->drvr.drvr; } diff --git a/drivers/usbhost/usbhost_cdcacm.c b/drivers/usbhost/usbhost_cdcacm.c index 7353af369e..750bba1038 100644 --- a/drivers/usbhost/usbhost_cdcacm.c +++ b/drivers/usbhost/usbhost_cdcacm.c @@ -1708,7 +1708,7 @@ static void usbhost_putle32(uint8_t *dest, uint32_t val) * priv - A reference to the class instance. * * Returned Value: - * On sucess, zero (OK) is returned. On failure, an negated errno value + * On success, zero (OK) is returned. On failure, an negated errno value * is returned to indicate the nature of the failure. * ****************************************************************************/ diff --git a/drivers/usbhost/usbhost_composite.c b/drivers/usbhost/usbhost_composite.c index 05b8e8b030..6c18887c1e 100644 --- a/drivers/usbhost/usbhost_composite.c +++ b/drivers/usbhost/usbhost_composite.c @@ -491,7 +491,7 @@ static int usbhost_createconfig(FAR struct usbhost_member_s *member, * * Returned Value: * Zero (OK) is returned if (1) the device was determined to be a - * composite device and (2) the composite class wrapper was sucessfully + * composite device and (2) the composite class wrapper was successfully * created and bound to the HCD. A negated errno value is returned on * any failure. The value -ENOENT, in particular means that the attached * device is not a composite device. Other values would indicate other diff --git a/drivers/usbhost/usbhost_composite.h b/drivers/usbhost/usbhost_composite.h index 765624da2a..cf6b208fd7 100644 --- a/drivers/usbhost/usbhost_composite.h +++ b/drivers/usbhost/usbhost_composite.h @@ -80,7 +80,7 @@ extern "C" * * Returned Value: * Zero (OK) is returned if (1) the device was determined to be a - * composite device and (2) the composite class wrapper was sucessfully + * composite device and (2) the composite class wrapper was successfully * created and bound to the HCD. A negated errno value is returned on * any failure. The value -ENOENT, in particular means that the attached * device is not a composite device. Other values would indicate other diff --git a/drivers/usbhost/usbhost_skeleton.c b/drivers/usbhost/usbhost_skeleton.c index 3e1a4fdd28..01fe0b1b14 100644 --- a/drivers/usbhost/usbhost_skeleton.c +++ b/drivers/usbhost/usbhost_skeleton.c @@ -786,7 +786,7 @@ static void usbhost_putle32(uint8_t *dest, uint32_t val) * priv - A reference to the class instance. * * Returned Value: - * On sucess, zero (OK) is returned. On failure, an negated errno value + * On success, zero (OK) is returned. On failure, an negated errno value * is returned to indicate the nature of the failure. * ****************************************************************************/ @@ -812,7 +812,7 @@ static inline int usbhost_talloc(FAR struct usbhost_state_s *priv) * priv - A reference to the class instance. * * Returned Value: - * On sucess, zero (OK) is returned. On failure, an negated errno value + * On success, zero (OK) is returned. On failure, an negated errno value * is returned to indicate the nature of the failure. * ****************************************************************************/ diff --git a/drivers/usbhost/usbhost_storage.c b/drivers/usbhost/usbhost_storage.c index 89ff54cac7..e3b5828429 100644 --- a/drivers/usbhost/usbhost_storage.c +++ b/drivers/usbhost/usbhost_storage.c @@ -1571,7 +1571,7 @@ static void usbhost_putbe32(uint8_t *dest, uint32_t val) * priv - A reference to the class instance. * * Returned Value: - * On sucess, zero (OK) is returned. On failure, an negated errno value + * On success, zero (OK) is returned. On failure, an negated errno value * is returned to indicate the nature of the failure. * ****************************************************************************/ @@ -1597,7 +1597,7 @@ static inline int usbhost_talloc(FAR struct usbhost_state_s *priv) * priv - A reference to the class instance. * * Returned Value: - * On sucess, zero (OK) is returned. On failure, an negated errno value + * On success, zero (OK) is returned. On failure, an negated errno value * is returned to indicate the nature of the failure. * ****************************************************************************/ diff --git a/drivers/usbhost/usbhost_xboxcontroller.c b/drivers/usbhost/usbhost_xboxcontroller.c index 9d69d694bc..20a29c83ea 100644 --- a/drivers/usbhost/usbhost_xboxcontroller.c +++ b/drivers/usbhost/usbhost_xboxcontroller.c @@ -1472,7 +1472,7 @@ static void usbhost_putle32(uint8_t *dest, uint32_t val) * priv - A reference to the class instance. * * Returned Value: - * On sucess, zero (OK) is returned. On failure, an negated errno value + * On success, zero (OK) is returned. On failure, an negated errno value * is returned to indicate the nature of the failure. * ****************************************************************************/ @@ -1498,7 +1498,7 @@ static inline int usbhost_talloc(FAR struct usbhost_state_s *priv) * priv - A reference to the class instance. * * Returned Value: - * On sucess, zero (OK) is returned. On failure, an negated errno value + * On success, zero (OK) is returned. On failure, an negated errno value * is returned to indicate the nature of the failure. * ****************************************************************************/ diff --git a/graphics/vnc/server/vnc_negotiate.c b/graphics/vnc/server/vnc_negotiate.c index 2e03d4d4f8..b87fb99707 100644 --- a/graphics/vnc/server/vnc_negotiate.c +++ b/graphics/vnc/server/vnc_negotiate.c @@ -86,7 +86,7 @@ static const char g_vncname[] = CONFIG_VNCSERVER_NAME; * Name: vnc_negotiate * * Description: - * Perform the VNC initialization sequence after the client has sucessfully + * Perform the VNC initialization sequence after the client has successfully * connected to the server. Negotiate security, framebuffer and color * properties. * diff --git a/graphics/vnc/server/vnc_server.c b/graphics/vnc/server/vnc_server.c index b16ef074f4..beda5edbf6 100644 --- a/graphics/vnc/server/vnc_server.c +++ b/graphics/vnc/server/vnc_server.c @@ -321,7 +321,7 @@ int vnc_server(int argc, FAR char *argv[]) ginfo("New VNC connection\n"); /* Perform the VNC initialization sequence after the client has - * sucessfully connected to the server. Negotiate security, + * successfully connected to the server. Negotiate security, * framebuffer and color properties. */ diff --git a/graphics/vnc/server/vnc_server.h b/graphics/vnc/server/vnc_server.h index 3abc10dacf..04f41c28e8 100644 --- a/graphics/vnc/server/vnc_server.h +++ b/graphics/vnc/server/vnc_server.h @@ -352,7 +352,7 @@ int vnc_server(int argc, FAR char *argv[]); * Name: vnc_negotiate * * Description: - * Perform the VNC initialization sequence after the client has sucessfully + * Perform the VNC initialization sequence after the client has successfully * connected to the server. Negotiate security, framebuffer and color * properties. * diff --git a/include/hex2bin.h b/include/hex2bin.h index b1dc9ff8a4..f971bf8a87 100644 --- a/include/hex2bin.h +++ b/include/hex2bin.h @@ -209,7 +209,7 @@ int fhex2mem(FAR FILE *instream, uint32_t baseaddr, uint32_t endpaddr, * Standard task inputs * * Returned Value: - * EXIT_SUCESS on success; EXIT_FAILURE on failure + * EXIT_SUCCESS on success; EXIT_FAILURE on failure * ****************************************************************************/ @@ -227,7 +227,7 @@ int hex2bin_main(int argc, char **argv); * Standard task inputs * * Returned Value: - * EXIT_SUCESS on success; EXIT_FAILURE on failure + * EXIT_SUCCESS on success; EXIT_FAILURE on failure * ****************************************************************************/ diff --git a/libs/libc/dllfcn/lib_dlclose.c b/libs/libc/dllfcn/lib_dlclose.c index 10aa3a4535..c5b3cc495d 100644 --- a/libs/libc/dllfcn/lib_dlclose.c +++ b/libs/libc/dllfcn/lib_dlclose.c @@ -106,7 +106,7 @@ static inline int dlremove(FAR void *handle) ret = modp->modinfo.uninitializer(modp->modinfo.arg); - /* Did the module sucessfully uninitialize? */ + /* Did the module successfully uninitialize? */ if (ret < 0) { diff --git a/net/bluetooth/bluetooth_sockif.c b/net/bluetooth/bluetooth_sockif.c index 46c6a130ef..e778e338c2 100644 --- a/net/bluetooth/bluetooth_sockif.c +++ b/net/bluetooth/bluetooth_sockif.c @@ -172,7 +172,7 @@ static int bluetooth_sockif_alloc(FAR struct socket *psock) * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/icmp/icmp_sockif.c b/net/icmp/icmp_sockif.c index 4b7b679197..98fed32e5c 100644 --- a/net/icmp/icmp_sockif.c +++ b/net/icmp/icmp_sockif.c @@ -127,7 +127,7 @@ const struct sock_intf_s g_icmp_sockif = * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/icmpv6/icmpv6_sockif.c b/net/icmpv6/icmpv6_sockif.c index 5ff0b3a394..f3d7ac0587 100644 --- a/net/icmpv6/icmpv6_sockif.c +++ b/net/icmpv6/icmpv6_sockif.c @@ -127,7 +127,7 @@ const struct sock_intf_s g_icmpv6_sockif = * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/ieee802154/ieee802154_sockif.c b/net/ieee802154/ieee802154_sockif.c index 6ca653b265..525ef32b10 100644 --- a/net/ieee802154/ieee802154_sockif.c +++ b/net/ieee802154/ieee802154_sockif.c @@ -170,7 +170,7 @@ static int ieee802154_sockif_alloc(FAR struct socket *psock) * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/inet/inet_sockif.c b/net/inet/inet_sockif.c index 7dbd5ffb94..87cb2bdba8 100644 --- a/net/inet/inet_sockif.c +++ b/net/inet/inet_sockif.c @@ -212,7 +212,7 @@ static int inet_udp_alloc(FAR struct socket *psock) * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/local/local_sockif.c b/net/local/local_sockif.c index 453a26a2dc..8563167590 100644 --- a/net/local/local_sockif.c +++ b/net/local/local_sockif.c @@ -169,7 +169,7 @@ static int local_sockif_alloc(FAR struct socket *psock) * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/netlink/netlink_sockif.c b/net/netlink/netlink_sockif.c index 5b9e3b5040..bfa6dc0522 100644 --- a/net/netlink/netlink_sockif.c +++ b/net/netlink/netlink_sockif.c @@ -128,7 +128,7 @@ const struct sock_intf_s g_netlink_sockif = * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/pkt/pkt_sockif.c b/net/pkt/pkt_sockif.c index aed3a66027..f109882f52 100644 --- a/net/pkt/pkt_sockif.c +++ b/net/pkt/pkt_sockif.c @@ -167,7 +167,7 @@ static int pkt_sockif_alloc(FAR struct socket *psock) * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/sixlowpan/sixlowpan_hc1.c b/net/sixlowpan/sixlowpan_hc1.c index ffbc479edf..6cbe776b35 100644 --- a/net/sixlowpan/sixlowpan_hc1.c +++ b/net/sixlowpan/sixlowpan_hc1.c @@ -289,7 +289,7 @@ int sixlowpan_compresshdr_hc1(FAR struct radio_driver_s *radio, * FRAGN frames. * * Returned Value: - * Zero (OK) is returned on success, on failure a negater errno value is + * Zero (OK) is returned on success, on failure a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/sixlowpan/sixlowpan_internal.h b/net/sixlowpan/sixlowpan_internal.h index ccb11a2d6e..d3689f7de0 100644 --- a/net/sixlowpan/sixlowpan_internal.h +++ b/net/sixlowpan/sixlowpan_internal.h @@ -113,7 +113,7 @@ /* Return values ************************************************************/ -/* Sucessful return values from header compression logic */ +/* Successful return values from header compression logic */ #define COMPRESS_HDR_INLINE 0 /* L2 header not compressed */ #define COMPRESS_HDR_ELIDED 1 /* L2 header compressed */ @@ -552,7 +552,7 @@ int sixlowpan_compresshdr_hc1(FAR struct radio_driver_s *radio, * FRAGN frames. * * Returned Value: - * Zero (OK) is returned on success, on failure a negater errno value is + * Zero (OK) is returned on success, on failure a negated errno value is * returned. * ****************************************************************************/ diff --git a/net/usrsock/usrsock_sockif.c b/net/usrsock/usrsock_sockif.c index 5f74f52174..ac6f88d2b9 100644 --- a/net/usrsock/usrsock_sockif.c +++ b/net/usrsock/usrsock_sockif.c @@ -109,7 +109,7 @@ const struct sock_intf_s g_usrsock_sockif = * protocol (see sys/socket.h) * * Returned Value: - * Zero (OK) is returned on success. Otherwise, a negater errno value is + * Zero (OK) is returned on success. Otherwise, a negated errno value is * returned. * ****************************************************************************/ diff --git a/sched/environ/env_putenv.c b/sched/environ/env_putenv.c index 9c7ca52b82..fa9a536ddf 100644 --- a/sched/environ/env_putenv.c +++ b/sched/environ/env_putenv.c @@ -66,7 +66,7 @@ * name=value string describing the environment setting to add/modify * * Returned Value: - * Zero on sucess + * Zero on success * * Assumptions: * Not called from an interrupt handler diff --git a/sched/init/init.h b/sched/init/init.h index b602786bc4..e0e5561a77 100644 --- a/sched/init/init.h +++ b/sched/init/init.h @@ -77,7 +77,7 @@ void os_start(void); * None * * Returned Value: - * Zero on success; a negater errno value on failure. + * Zero on success; a negated errno value on failure. * ****************************************************************************/ diff --git a/sched/init/os_smpstart.c b/sched/init/os_smpstart.c index b6e7411a38..a204661cf9 100644 --- a/sched/init/os_smpstart.c +++ b/sched/init/os_smpstart.c @@ -183,7 +183,7 @@ int os_idle_task(int argc, FAR char *argv[]) * None * * Returned Value: - * Zero on success; a negater errno value on failure. + * Zero on success; a negated errno value on failure. * * Assumption: * Runs before the full initialization sequence has completed. Runs after diff --git a/sched/module/mod_rmmod.c b/sched/module/mod_rmmod.c index 50ba3bcbf8..810d5ba094 100644 --- a/sched/module/mod_rmmod.c +++ b/sched/module/mod_rmmod.c @@ -107,7 +107,7 @@ int rmmod(FAR void *handle) ret = modp->modinfo.uninitializer(modp->modinfo.arg); - /* Did the module sucessfully uninitialize? */ + /* Did the module successfully uninitialize? */ if (ret < 0) { diff --git a/sched/mqueue/mq_send.c b/sched/mqueue/mq_send.c index 516f8b2de7..9a5912f2ab 100644 --- a/sched/mqueue/mq_send.c +++ b/sched/mqueue/mq_send.c @@ -138,7 +138,7 @@ int nxmq_send(mqd_t mqdes, FAR const char *msg, size_t msglen, int prio) mqmsg = nxmq_alloc_msg(); - /* Check if the message was sucessfully allocated */ + /* Check if the message was successfully allocated */ ret = (mqmsg == NULL) ? -ENOMEM : OK; } diff --git a/sched/pthread/pthread_create.c b/sched/pthread/pthread_create.c index a69c9bccf4..fe75d53e2d 100644 --- a/sched/pthread/pthread_create.c +++ b/sched/pthread/pthread_create.c @@ -177,7 +177,7 @@ static void pthread_start(void) DEBUGASSERT(group && pjoin); - /* Sucessfully spawned, add the pjoin to our data set. */ + /* Successfully spawned, add the pjoin to our data set. */ (void)pthread_sem_take(&group->tg_joinsem, false); pthread_addjoininfo(group, pjoin);