Typo fixes.

This commit is contained in:
Fotis Panagiotopoulos 2022-01-05 17:34:05 +02:00 committed by Xiang Xiao
parent 614b73d321
commit bc5d8034f1
45 changed files with 74 additions and 74 deletions

View file

@ -62,7 +62,7 @@ config IPCFG_OFFSET
Seek to this offset before reading or writing the IP Configuration.
This is only support for the character driver device. This permits
some formatting of, say, EEPROM, so that multiple, different
configurations can be maintained at differnt offsets into the IP
configurations can be maintained at different offsets into the IP
Configuration File.
endif # FSUTILS_IPCFG

View file

@ -67,7 +67,7 @@ struct ipcfg_header_s
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv4cfg - Location to read IPv4 configration to
* ipv4cfg - Location to read IPv4 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -88,7 +88,7 @@ int ipcfg_read_binary_ipv4(FAR const char *path,
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv6cfg - Location to read IPv6 configration to
* ipv6cfg - Location to read IPv6 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -109,7 +109,7 @@ int ipcfg_read_binary_ipv6(FAR const char *path,
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv4cfg - The IPv4 configration to write
* ipv4cfg - The IPv4 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -131,7 +131,7 @@ int ipcfg_write_binary_ipv4(FAR const char *path,
*
* Input Parameters:
* path - The full path to the IP configuration file
* ipv6cfg - The IPv6 configration to write
* ipv6cfg - The IPv6 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -155,7 +155,7 @@ int ipcfg_write_binary_ipv6(FAR const char *path,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv4cfg - Location to read IPv4 configration to
* ipv4cfg - Location to read IPv4 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -178,7 +178,7 @@ int ipcfg_read_text_ipv4(FAR const char *path, FAR const char *netdev,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv6cfg - Location to read IPv6 configration to
* ipv6cfg - Location to read IPv6 configuration to
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -201,7 +201,7 @@ int ipcfg_read_text_ipv6(FAR const char *path, FAR const char *netdev,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv4cfg - The IPv4 configration to write
* ipv4cfg - The IPv4 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any
@ -224,7 +224,7 @@ int ipcfg_write_text_ipv4(FAR const char *path, FAR const char *netdev,
* Input Parameters:
* path - The full path to the IP configuration file
* netdev - Network device name string
* ipv6cfg - The IPv6 configration to write
* ipv6cfg - The IPv6 configuration to write
*
* Returned Value:
* Zero is returned on success; a negated errno value is returned on any

View file

@ -11,7 +11,7 @@ config FSUTILS_MKFATFS
---help---
Enables support for the mkfatfs utility
config MKFATFS_BUFFER_ALIGMENT
config MKFATFS_BUFFER_ALIGNMENT
int "Buffer alignment"
default 0
depends on FSUTILS_MKFATFS

View file

@ -42,9 +42,9 @@
* Pre-processor Definitions
****************************************************************************/
#if defined(CONFIG_MKFATFS_BUFFER_ALIGMENT) && \
CONFIG_MKFATFS_BUFFER_ALIGMENT > 0
# define fat_buffer_alloc(s) memalign(CONFIG_MKFATFS_BUFFER_ALIGMENT, (s))
#if defined(CONFIG_MKFATFS_BUFFER_ALIGNMENT) && \
CONFIG_MKFATFS_BUFFER_ALIGNMENT > 0
# define fat_buffer_alloc(s) memalign(CONFIG_MKFATFS_BUFFER_ALIGNMENT, (s))
#else
# define fat_buffer_alloc(s) malloc((s))
#endif