Re: [PATCH, trivial 07/29] tree-wide spelling fixes in comments and some messages: hw/9pfs

2023-07-14 Thread Christian Schoenebeck
On Friday, July 14, 2023 1:38:12 PM CEST Michael Tokarev wrote:
> Signed-off-by: Michael Tokarev 
> ---
>  hw/9pfs/9p-local.c | 8 
>  hw/9pfs/9p-proxy.c | 2 +-
>  hw/9pfs/9p-synth.c | 2 +-
>  hw/9pfs/9p-util.h  | 2 +-
>  hw/9pfs/9p.c   | 4 ++--
>  hw/9pfs/9p.h   | 2 +-
>  6 files changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
> index 9d07620235..1b1f3b9ec8 100644
> --- a/hw/9pfs/9p-local.c
> +++ b/hw/9pfs/9p-local.c
> @@ -626,3 +626,3 @@ static ssize_t local_pwritev(FsContext *ctx, 
> V9fsFidOpenState *fs,
>   * We want to ensure that we don't leave dirty pages in the cache
> - * after write when writeout=immediate is sepcified.
> + * after write when writeout=immediate is specified.
>   */
> @@ -845,3 +845,3 @@ static int local_open2(FsContext *fs_ctx, V9fsPath 
> *dir_path, const char *name,
>  if (fs_ctx->export_flags & V9FS_SM_MAPPED) {
> -/* Set cleint credentials in xattr */
> +/* Set client credentials in xattr */
>  err = local_set_xattrat(dirfd, name, credp);
> @@ -914,3 +914,3 @@ static int local_symlink(FsContext *fs_ctx, const char 
> *oldpath,
>  }
> -/* Set cleint credentials in symlink's xattr */
> +/* Set client credentials in symlink's xattr */
>  credp->fc_mode = credp->fc_mode | S_IFLNK;
> @@ -1420,3 +1420,3 @@ static int local_ioc_getversion_init(FsContext *ctx, 
> LocalData *data, Error **er
>  /*
> - * use ioc_getversion only if the ioctl is definied
> + * use ioc_getversion only if the ioctl is defined
>   */
> diff --git a/hw/9pfs/9p-proxy.c b/hw/9pfs/9p-proxy.c
> index 905cae6992..7aac49ad4a 100644
> --- a/hw/9pfs/9p-proxy.c
> +++ b/hw/9pfs/9p-proxy.c
> @@ -769,3 +769,3 @@ static ssize_t proxy_pwritev(FsContext *ctx, 
> V9fsFidOpenState *fs,
>   * We want to ensure that we don't leave dirty pages in the cache
> - * after write when writeout=immediate is sepcified.
> + * after write when writeout=immediate is specified.
>   */
> diff --git a/hw/9pfs/9p-synth.c b/hw/9pfs/9p-synth.c
> index f62c40b639..0ac79a500b 100644
> --- a/hw/9pfs/9p-synth.c
> +++ b/hw/9pfs/9p-synth.c
> @@ -495,3 +495,3 @@ static int synth_name_to_path(FsContext *ctx, V9fsPath 
> *dir_path,
>  }
> -/* search for the name in the childern */
> +/* search for the name in the children */
>  rcu_read_lock();
> diff --git a/hw/9pfs/9p-util.h b/hw/9pfs/9p-util.h
> index df1b583a5e..51c94b0116 100644
> --- a/hw/9pfs/9p-util.h
> +++ b/hw/9pfs/9p-util.h
> @@ -50,3 +50,3 @@ static inline uint64_t makedev_dotl(uint32_t dev_major, 
> uint32_t dev_minor)
>   * device number format. As both the size of type dev_t and encoding of
> - * dev_t is system dependant, we have to convert them for Linux guests if
> + * dev_t is system dependent, we have to convert them for Linux guests if
>   * host is not running Linux.

That particular one is American English vs. British English, but OK, patch
LGTM:

Reviewed-by: Christian Schoenebeck 

> diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
> index 991645adca..323f042e65 100644
> --- a/hw/9pfs/9p.c
> +++ b/hw/9pfs/9p.c
> @@ -646,3 +646,3 @@ static inline uint64_t mirror64bit(uint64_t value)
>  /*
> - * Parameter k for the Exponential Golomb algorihm to be used.
> + * Parameter k for the Exponential Golomb algorithm to be used.
>   *
> @@ -1041,3 +1041,3 @@ static void coroutine_fn pdu_complete(V9fsPDU *pdu, 
> ssize_t len)
>   * rather than a consequence of the cancellation. However, if
> - * the operation completed (succesfully or with an error other
> + * the operation completed (successfully or with an error other
>   * than caused be cancellation), we do send out that reply, both
> diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h
> index 1b0d805b9c..a6f59abccb 100644
> --- a/hw/9pfs/9p.h
> +++ b/hw/9pfs/9p.h
> @@ -306,3 +306,3 @@ typedef struct VariLenAffix {
>  /*
> - * Lenght of the affix, that is how many (of the lowest) bits of 
> ``value``
> + * Length of the affix, that is how many (of the lowest) bits of 
> ``value``
>   * must be used for appending/prepending this affix to its final 
> resulting,
> 





[PATCH, trivial 07/29] tree-wide spelling fixes in comments and some messages: hw/9pfs

2023-07-14 Thread Michael Tokarev
Signed-off-by: Michael Tokarev 
---
 hw/9pfs/9p-local.c | 8 
 hw/9pfs/9p-proxy.c | 2 +-
 hw/9pfs/9p-synth.c | 2 +-
 hw/9pfs/9p-util.h  | 2 +-
 hw/9pfs/9p.c   | 4 ++--
 hw/9pfs/9p.h   | 2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
index 9d07620235..1b1f3b9ec8 100644
--- a/hw/9pfs/9p-local.c
+++ b/hw/9pfs/9p-local.c
@@ -626,3 +626,3 @@ static ssize_t local_pwritev(FsContext *ctx, 
V9fsFidOpenState *fs,
  * We want to ensure that we don't leave dirty pages in the cache
- * after write when writeout=immediate is sepcified.
+ * after write when writeout=immediate is specified.
  */
@@ -845,3 +845,3 @@ static int local_open2(FsContext *fs_ctx, V9fsPath 
*dir_path, const char *name,
 if (fs_ctx->export_flags & V9FS_SM_MAPPED) {
-/* Set cleint credentials in xattr */
+/* Set client credentials in xattr */
 err = local_set_xattrat(dirfd, name, credp);
@@ -914,3 +914,3 @@ static int local_symlink(FsContext *fs_ctx, const char 
*oldpath,
 }
-/* Set cleint credentials in symlink's xattr */
+/* Set client credentials in symlink's xattr */
 credp->fc_mode = credp->fc_mode | S_IFLNK;
@@ -1420,3 +1420,3 @@ static int local_ioc_getversion_init(FsContext *ctx, 
LocalData *data, Error **er
 /*
- * use ioc_getversion only if the ioctl is definied
+ * use ioc_getversion only if the ioctl is defined
  */
diff --git a/hw/9pfs/9p-proxy.c b/hw/9pfs/9p-proxy.c
index 905cae6992..7aac49ad4a 100644
--- a/hw/9pfs/9p-proxy.c
+++ b/hw/9pfs/9p-proxy.c
@@ -769,3 +769,3 @@ static ssize_t proxy_pwritev(FsContext *ctx, 
V9fsFidOpenState *fs,
  * We want to ensure that we don't leave dirty pages in the cache
- * after write when writeout=immediate is sepcified.
+ * after write when writeout=immediate is specified.
  */
diff --git a/hw/9pfs/9p-synth.c b/hw/9pfs/9p-synth.c
index f62c40b639..0ac79a500b 100644
--- a/hw/9pfs/9p-synth.c
+++ b/hw/9pfs/9p-synth.c
@@ -495,3 +495,3 @@ static int synth_name_to_path(FsContext *ctx, V9fsPath 
*dir_path,
 }
-/* search for the name in the childern */
+/* search for the name in the children */
 rcu_read_lock();
diff --git a/hw/9pfs/9p-util.h b/hw/9pfs/9p-util.h
index df1b583a5e..51c94b0116 100644
--- a/hw/9pfs/9p-util.h
+++ b/hw/9pfs/9p-util.h
@@ -50,3 +50,3 @@ static inline uint64_t makedev_dotl(uint32_t dev_major, 
uint32_t dev_minor)
  * device number format. As both the size of type dev_t and encoding of
- * dev_t is system dependant, we have to convert them for Linux guests if
+ * dev_t is system dependent, we have to convert them for Linux guests if
  * host is not running Linux.
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
index 991645adca..323f042e65 100644
--- a/hw/9pfs/9p.c
+++ b/hw/9pfs/9p.c
@@ -646,3 +646,3 @@ static inline uint64_t mirror64bit(uint64_t value)
 /*
- * Parameter k for the Exponential Golomb algorihm to be used.
+ * Parameter k for the Exponential Golomb algorithm to be used.
  *
@@ -1041,3 +1041,3 @@ static void coroutine_fn pdu_complete(V9fsPDU *pdu, 
ssize_t len)
  * rather than a consequence of the cancellation. However, if
- * the operation completed (succesfully or with an error other
+ * the operation completed (successfully or with an error other
  * than caused be cancellation), we do send out that reply, both
diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h
index 1b0d805b9c..a6f59abccb 100644
--- a/hw/9pfs/9p.h
+++ b/hw/9pfs/9p.h
@@ -306,3 +306,3 @@ typedef struct VariLenAffix {
 /*
- * Lenght of the affix, that is how many (of the lowest) bits of ``value``
+ * Length of the affix, that is how many (of the lowest) bits of ``value``
  * must be used for appending/prepending this affix to its final resulting,
-- 
2.39.2