Fix various typos

This commit is contained in:
Nathan Hartman
2022-07-07 12:01:22 -04:00
committed by Xiang Xiao
parent 0bdf713df0
commit 849f760b77
149 changed files with 171 additions and 171 deletions
+1 -1
View File
@@ -1396,7 +1396,7 @@ int nx_stat(FAR const char *path, FAR struct stat *buf, int resolve);
* Input Parameters:
* filep - File structure instance
* buf - The stat to be modified
* flags - The vaild field in buf
* flags - The valid field in buf
*
* Returned Value:
* Upon successful completion, 0 shall be returned. Otherwise, the
+1 -1
View File
@@ -207,7 +207,7 @@ size_t procfs_memcpy(FAR const char *src, size_t srclen,
* Description:
* This function is same with snprintf, except return values.
* If buf has no enough space and output was truncated due to size limit,
* snprintf: return formated string len.
* snprintf: return formatted string len.
* procfs_snprintf: return string len which has written to buf.
*
* Input Parameters:
+1 -1
View File
@@ -324,7 +324,7 @@
/* Auto-negotiation next page advertisement */
#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formated code field */
#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formatted code field */
#define MII_NPADVERTISE_TOGGLE (1 << 11) /* Bit 11: Toggle */
#define MII_NPADVERTISE_ACK2 (1 << 12) /* Bit 12: Acknowledgement 2 */
#define MII_NPADVERTISE_MSGPAGE (1 << 13) /* Bit 13: Message page */