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

View File

@ -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.

View File

@ -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.

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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
====

View File

@ -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)

View File

@ -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

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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;
}

View File

@ -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.
*
****************************************************************************/

View File

@ -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

View File

@ -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

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*

View File

@ -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.
*/

View File

@ -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.
*

View File

@ -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
*
****************************************************************************/

View File

@ -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)
{

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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.
*
****************************************************************************/

View File

@ -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

View File

@ -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.
*
****************************************************************************/

View File

@ -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

View File

@ -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)
{

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();
/* Check if the message was sucessfully allocated */
/* Check if the message was successfully allocated */
ret = (mqmsg == NULL) ? -ENOMEM : OK;
}

View File

@ -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);