Fix some typographical errors.

This commit is contained in:
Gregory Nutt
2018-09-14 06:55:45 -06:00
parent c9187c2928
commit 9546481054
38 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -1868,7 +1868,7 @@ static void khci_eptransfer(struct khci_usbdev_s *priv, uint8_t epno,
* Name: khci_ep0nextsetup * Name: khci_ep0nextsetup
* *
* Description: * 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 * command, or (2) after receipt of the OUT complete event (for simple
* transfers). It simply sets up the single BDT to accept the next * transfers). It simply sets up the single BDT to accept the next
* SETUP commend. * SETUP commend.
+1 -1
View File
@@ -1785,7 +1785,7 @@ static void pic32mx_eptransfer(struct pic32mx_usbdev_s *priv, uint8_t epno,
* Name: pic32mx_ep0nextsetup * Name: pic32mx_ep0nextsetup
* *
* Description: * 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 * command, or (2) after receipt of the OUT complete event (for simple
* transfers). It simply sets up the single BDT to accept the next * transfers). It simply sets up the single BDT to accept the next
* SETUP commend. * SETUP commend.
+2 -2
View File
@@ -82,7 +82,7 @@ EXTERN FAR struct binfmt_s *g_binfmts;
* bin - Load structure * bin - Load structure
* *
* Returned Value: * 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 * argv - Argument list
* *
* Returned Value: * Returned Value:
* Zero (OK) on success; a negater errno value on failure. * Zero (OK) on success; a negated errno value on failure.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -77,7 +77,7 @@
* argv - Argument list * argv - Argument list
* *
* Returned Value: * Returned Value:
* Zero (OK) on sucess; a negater erro value on failure. * Zero (OK) on success; a negated erro value on failure.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -37,7 +37,7 @@ ST Bootloader
A flash utility must be used on your development workstation to upload / flash A flash utility must be used on your development workstation to upload / flash
a firmware image. (The 'stm32flash' open source tool, available at 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 LEDs
==== ====
+1 -1
View File
@@ -67,7 +67,7 @@ void stm32_boardinitialize(void)
* Initializes upper half drivers with board specific settings * Initializes upper half drivers with board specific settings
* *
* Returned Value: * 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) int board_app_initialize(uintptr_t arg)
+3 -3
View File
@@ -54,7 +54,7 @@ Configuring NuttX
or macOS" which will give you the steps you would need to do to convert or macOS" which will give you the steps you would need to do to convert
this configuration to build in other environments. 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 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. 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 or macOS" which will give you the steps you would need to do to convert
this configuration to build in other environments. 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 the configure to Kconfig/mconf tool using SDCC 2.6.0 built to run
natively under Cygwin.nsh/defconfig:CONFIG_BOARD_LOOPSPERMSEC 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 or macOS" which will give you the steps you would need to do to convert
this configuration to build in other environments. 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 the configure to Kconfig/mconf tool using SDCC 2.6.0 built to run
natively under Cygwin.nsh/defconfig:CONFIG_BOARD_LOOPSPERMSEC natively under Cygwin.nsh/defconfig:CONFIG_BOARD_LOOPSPERMSEC
+8 -8
View File
@@ -348,7 +348,7 @@ PGA11X_HANDLE pga11x_initialize(FAR struct spi_dev_s *spi)
* settings - New channel and gain settings * settings - New channel and gain settings
* *
* Returned Value: * 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 * settings - New channel and gain settings
* *
* Returned Value: * 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 * settings - Returned channel and gain settings
* *
* Returned Value: * 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 * settings - Returned channel and gain settings
* *
* Returned Value: * 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 * spi - An SPI "bottom half" device driver instance
* *
* Returned Value: * 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) * pos - Position of the chip in the daisy chain (0 or 1)
* *
* Returned Value: * 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 * spi - An SPI "bottom half" device driver instance
* *
* Returned Value: * 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) * pos - Position of the chip in the daisy chain (0 or 1)
* *
* Returned Value: * Returned Value:
* Zero on sucess; a negated errno value on failure. * Zero on success; a negated errno value on failure.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -138,7 +138,7 @@ static int nand_ioctl(struct mtd_dev_s *dev, int cmd,
* block - Number of block to check. * block - Number of block to check.
* *
* Returned Value: * Returned Value:
* OK on success; a negater errno value on failure. * OK on success; a negated errno value on failure.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -1780,7 +1780,7 @@ int usbmsc_classobject(FAR void *handle,
ret = usbmsc_exportluns(handle); ret = usbmsc_exportluns(handle);
if (ret == OK) 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; *classdev = &alloc->drvr.drvr;
} }
+1 -1
View File
@@ -1708,7 +1708,7 @@ static void usbhost_putle32(uint8_t *dest, uint32_t val)
* priv - A reference to the class instance. * priv - A reference to the class instance.
* *
* Returned Value: * 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. * is returned to indicate the nature of the failure.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -491,7 +491,7 @@ static int usbhost_createconfig(FAR struct usbhost_member_s *member,
* *
* Returned Value: * Returned Value:
* Zero (OK) is returned if (1) the device was determined to be a * 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 * created and bound to the HCD. A negated errno value is returned on
* any failure. The value -ENOENT, in particular means that the attached * any failure. The value -ENOENT, in particular means that the attached
* device is not a composite device. Other values would indicate other * device is not a composite device. Other values would indicate other
+1 -1
View File
@@ -80,7 +80,7 @@ extern "C"
* *
* Returned Value: * Returned Value:
* Zero (OK) is returned if (1) the device was determined to be a * 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 * created and bound to the HCD. A negated errno value is returned on
* any failure. The value -ENOENT, in particular means that the attached * any failure. The value -ENOENT, in particular means that the attached
* device is not a composite device. Other values would indicate other * device is not a composite device. Other values would indicate other
+2 -2
View File
@@ -786,7 +786,7 @@ static void usbhost_putle32(uint8_t *dest, uint32_t val)
* priv - A reference to the class instance. * priv - A reference to the class instance.
* *
* Returned Value: * 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. * 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. * priv - A reference to the class instance.
* *
* Returned Value: * 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. * is returned to indicate the nature of the failure.
* *
****************************************************************************/ ****************************************************************************/
+2 -2
View File
@@ -1571,7 +1571,7 @@ static void usbhost_putbe32(uint8_t *dest, uint32_t val)
* priv - A reference to the class instance. * priv - A reference to the class instance.
* *
* Returned Value: * 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. * 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. * priv - A reference to the class instance.
* *
* Returned Value: * 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. * is returned to indicate the nature of the failure.
* *
****************************************************************************/ ****************************************************************************/
+2 -2
View File
@@ -1472,7 +1472,7 @@ static void usbhost_putle32(uint8_t *dest, uint32_t val)
* priv - A reference to the class instance. * priv - A reference to the class instance.
* *
* Returned Value: * 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. * 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. * priv - A reference to the class instance.
* *
* Returned Value: * 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. * is returned to indicate the nature of the failure.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -86,7 +86,7 @@ static const char g_vncname[] = CONFIG_VNCSERVER_NAME;
* Name: vnc_negotiate * Name: vnc_negotiate
* *
* Description: * 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 * connected to the server. Negotiate security, framebuffer and color
* properties. * properties.
* *
+1 -1
View File
@@ -321,7 +321,7 @@ int vnc_server(int argc, FAR char *argv[])
ginfo("New VNC connection\n"); ginfo("New VNC connection\n");
/* Perform the VNC initialization sequence after the client has /* 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. * framebuffer and color properties.
*/ */
+1 -1
View File
@@ -352,7 +352,7 @@ int vnc_server(int argc, FAR char *argv[]);
* Name: vnc_negotiate * Name: vnc_negotiate
* *
* Description: * 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 * connected to the server. Negotiate security, framebuffer and color
* properties. * properties.
* *
+2 -2
View File
@@ -209,7 +209,7 @@ int fhex2mem(FAR FILE *instream, uint32_t baseaddr, uint32_t endpaddr,
* Standard task inputs * Standard task inputs
* *
* Returned Value: * 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 * Standard task inputs
* *
* Returned Value: * Returned Value:
* EXIT_SUCESS on success; EXIT_FAILURE on failure * EXIT_SUCCESS on success; EXIT_FAILURE on failure
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -106,7 +106,7 @@ static inline int dlremove(FAR void *handle)
ret = modp->modinfo.uninitializer(modp->modinfo.arg); ret = modp->modinfo.uninitializer(modp->modinfo.arg);
/* Did the module sucessfully uninitialize? */ /* Did the module successfully uninitialize? */
if (ret < 0) if (ret < 0)
{ {
+1 -1
View File
@@ -172,7 +172,7 @@ static int bluetooth_sockif_alloc(FAR struct socket *psock)
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -127,7 +127,7 @@ const struct sock_intf_s g_icmp_sockif =
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -127,7 +127,7 @@ const struct sock_intf_s g_icmpv6_sockif =
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -170,7 +170,7 @@ static int ieee802154_sockif_alloc(FAR struct socket *psock)
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -212,7 +212,7 @@ static int inet_udp_alloc(FAR struct socket *psock)
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -169,7 +169,7 @@ static int local_sockif_alloc(FAR struct socket *psock)
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -128,7 +128,7 @@ const struct sock_intf_s g_netlink_sockif =
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -167,7 +167,7 @@ static int pkt_sockif_alloc(FAR struct socket *psock)
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -289,7 +289,7 @@ int sixlowpan_compresshdr_hc1(FAR struct radio_driver_s *radio,
* FRAGN frames. * FRAGN frames.
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+2 -2
View File
@@ -113,7 +113,7 @@
/* Return values ************************************************************/ /* 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_INLINE 0 /* L2 header not compressed */
#define COMPRESS_HDR_ELIDED 1 /* L2 header 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. * FRAGN frames.
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -109,7 +109,7 @@ const struct sock_intf_s g_usrsock_sockif =
* protocol (see sys/socket.h) * protocol (see sys/socket.h)
* *
* Returned Value: * 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. * returned.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -66,7 +66,7 @@
* name=value string describing the environment setting to add/modify * name=value string describing the environment setting to add/modify
* *
* Returned Value: * Returned Value:
* Zero on sucess * Zero on success
* *
* Assumptions: * Assumptions:
* Not called from an interrupt handler * Not called from an interrupt handler
+1 -1
View File
@@ -77,7 +77,7 @@ void os_start(void);
* None * None
* *
* Returned Value: * Returned Value:
* Zero on success; a negater errno value on failure. * Zero on success; a negated errno value on failure.
* *
****************************************************************************/ ****************************************************************************/
+1 -1
View File
@@ -183,7 +183,7 @@ int os_idle_task(int argc, FAR char *argv[])
* None * None
* *
* Returned Value: * Returned Value:
* Zero on success; a negater errno value on failure. * Zero on success; a negated errno value on failure.
* *
* Assumption: * Assumption:
* Runs before the full initialization sequence has completed. Runs after * Runs before the full initialization sequence has completed. Runs after
+1 -1
View File
@@ -107,7 +107,7 @@ int rmmod(FAR void *handle)
ret = modp->modinfo.uninitializer(modp->modinfo.arg); ret = modp->modinfo.uninitializer(modp->modinfo.arg);
/* Did the module sucessfully uninitialize? */ /* Did the module successfully uninitialize? */
if (ret < 0) if (ret < 0)
{ {
+1 -1
View File
@@ -138,7 +138,7 @@ int nxmq_send(mqd_t mqdes, FAR const char *msg, size_t msglen, int prio)
mqmsg = nxmq_alloc_msg(); mqmsg = nxmq_alloc_msg();
/* Check if the message was sucessfully allocated */ /* Check if the message was successfully allocated */
ret = (mqmsg == NULL) ? -ENOMEM : OK; ret = (mqmsg == NULL) ? -ENOMEM : OK;
} }
+1 -1
View File
@@ -177,7 +177,7 @@ static void pthread_start(void)
DEBUGASSERT(group && pjoin); 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); (void)pthread_sem_take(&group->tg_joinsem, false);
pthread_addjoininfo(group, pjoin); pthread_addjoininfo(group, pjoin);