linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] libceph: Fix spelling mistakes
@ 2021-06-02  6:56 Zheng Yongjun
  2021-06-02  7:58 ` Ilya Dryomov
  2021-06-03 20:30 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 4+ messages in thread
From: Zheng Yongjun @ 2021-06-02  6:56 UTC (permalink / raw)
  To: davem, kuba, ceph-devel, netdev, linux-kernel
  Cc: idryomov, jlayton, Zheng Yongjun

Fix some spelling mistakes in comments:
enconding  ==> encoding
ambigous  ==> ambiguous
orignal  ==> original
encyption  ==> encryption

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 net/ceph/auth_x_protocol.h | 2 +-
 net/ceph/mon_client.c      | 2 +-
 net/ceph/osdmap.c          | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net/ceph/auth_x_protocol.h b/net/ceph/auth_x_protocol.h
index 792fcb974dc3..9c60feeb1bcb 100644
--- a/net/ceph/auth_x_protocol.h
+++ b/net/ceph/auth_x_protocol.h
@@ -87,7 +87,7 @@ struct ceph_x_authorize_reply {
 
 
 /*
- * encyption bundle
+ * encryption bundle
  */
 #define CEPHX_ENC_MAGIC 0xff009cad8826aa55ull
 
diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c
index 195ceb8afb06..013cbdb6cfe2 100644
--- a/net/ceph/mon_client.c
+++ b/net/ceph/mon_client.c
@@ -1508,7 +1508,7 @@ static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con,
 			return get_generic_reply(con, hdr, skip);
 
 		/*
-		 * Older OSDs don't set reply tid even if the orignal
+		 * Older OSDs don't set reply tid even if the original
 		 * request had a non-zero tid.  Work around this weirdness
 		 * by allocating a new message.
 		 */
diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c
index c959320c4775..75b738083523 100644
--- a/net/ceph/osdmap.c
+++ b/net/ceph/osdmap.c
@@ -1309,7 +1309,7 @@ static int get_osdmap_client_data_v(void **p, void *end,
 			return -EINVAL;
 		}
 
-		/* old osdmap enconding */
+		/* old osdmap encoding */
 		struct_v = 0;
 	}
 
@@ -3010,7 +3010,7 @@ static bool is_valid_crush_name(const char *name)
  * parent, returns 0.
  *
  * Does a linear search, as there are no parent pointers of any
- * kind.  Note that the result is ambigous for items that occur
+ * kind.  Note that the result is ambiguous for items that occur
  * multiple times in the map.
  */
 static int get_immediate_parent(struct crush_map *c, int id,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] libceph: Fix spelling mistakes
  2021-06-02  6:56 [PATCH net-next] libceph: Fix spelling mistakes Zheng Yongjun
@ 2021-06-02  7:58 ` Ilya Dryomov
  2021-06-03 20:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 4+ messages in thread
From: Ilya Dryomov @ 2021-06-02  7:58 UTC (permalink / raw)
  To: Zheng Yongjun
  Cc: David S. Miller, Jakub Kicinski, Ceph Development, netdev, LKML,
	Jeff Layton

On Wed, Jun 2, 2021 at 8:42 AM Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
>
> Fix some spelling mistakes in comments:
> enconding  ==> encoding
> ambigous  ==> ambiguous
> orignal  ==> original
> encyption  ==> encryption
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> ---
>  net/ceph/auth_x_protocol.h | 2 +-
>  net/ceph/mon_client.c      | 2 +-
>  net/ceph/osdmap.c          | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/net/ceph/auth_x_protocol.h b/net/ceph/auth_x_protocol.h
> index 792fcb974dc3..9c60feeb1bcb 100644
> --- a/net/ceph/auth_x_protocol.h
> +++ b/net/ceph/auth_x_protocol.h
> @@ -87,7 +87,7 @@ struct ceph_x_authorize_reply {
>
>
>  /*
> - * encyption bundle
> + * encryption bundle
>   */
>  #define CEPHX_ENC_MAGIC 0xff009cad8826aa55ull
>
> diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c
> index 195ceb8afb06..013cbdb6cfe2 100644
> --- a/net/ceph/mon_client.c
> +++ b/net/ceph/mon_client.c
> @@ -1508,7 +1508,7 @@ static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con,
>                         return get_generic_reply(con, hdr, skip);
>
>                 /*
> -                * Older OSDs don't set reply tid even if the orignal
> +                * Older OSDs don't set reply tid even if the original
>                  * request had a non-zero tid.  Work around this weirdness
>                  * by allocating a new message.
>                  */
> diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c
> index c959320c4775..75b738083523 100644
> --- a/net/ceph/osdmap.c
> +++ b/net/ceph/osdmap.c
> @@ -1309,7 +1309,7 @@ static int get_osdmap_client_data_v(void **p, void *end,
>                         return -EINVAL;
>                 }
>
> -               /* old osdmap enconding */
> +               /* old osdmap encoding */
>                 struct_v = 0;
>         }
>
> @@ -3010,7 +3010,7 @@ static bool is_valid_crush_name(const char *name)
>   * parent, returns 0.
>   *
>   * Does a linear search, as there are no parent pointers of any
> - * kind.  Note that the result is ambigous for items that occur
> + * kind.  Note that the result is ambiguous for items that occur
>   * multiple times in the map.
>   */
>  static int get_immediate_parent(struct crush_map *c, int id,

Applied.

Thanks,

                Ilya

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] libceph: Fix spelling mistakes
  2021-06-02  6:56 [PATCH net-next] libceph: Fix spelling mistakes Zheng Yongjun
  2021-06-02  7:58 ` Ilya Dryomov
@ 2021-06-03 20:30 ` patchwork-bot+netdevbpf
  2021-06-03 20:42   ` Ilya Dryomov
  1 sibling, 1 reply; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-03 20:30 UTC (permalink / raw)
  To: Zheng Yongjun
  Cc: davem, kuba, ceph-devel, netdev, linux-kernel, idryomov, jlayton

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 2 Jun 2021 14:56:35 +0800 you wrote:
> Fix some spelling mistakes in comments:
> enconding  ==> encoding
> ambigous  ==> ambiguous
> orignal  ==> original
> encyption  ==> encryption
> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> 
> [...]

Here is the summary with links:
  - [net-next] libceph: Fix spelling mistakes
    https://git.kernel.org/netdev/net-next/c/dd0d91b91398

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] libceph: Fix spelling mistakes
  2021-06-03 20:30 ` patchwork-bot+netdevbpf
@ 2021-06-03 20:42   ` Ilya Dryomov
  0 siblings, 0 replies; 4+ messages in thread
From: Ilya Dryomov @ 2021-06-03 20:42 UTC (permalink / raw)
  To: patchwork-bot+netdevbpf, Jakub Kicinski
  Cc: Zheng Yongjun, David S. Miller, Ceph Development, netdev, LKML,
	Jeff Layton

On Thu, Jun 3, 2021 at 10:30 PM <patchwork-bot+netdevbpf@kernel.org> wrote:
>
> Hello:
>
> This patch was applied to netdev/net-next.git (refs/heads/master):
>
> On Wed, 2 Jun 2021 14:56:35 +0800 you wrote:
> > Fix some spelling mistakes in comments:
> > enconding  ==> encoding
> > ambigous  ==> ambiguous
> > orignal  ==> original
> > encyption  ==> encryption
> >
> > Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> >
> > [...]
>
> Here is the summary with links:
>   - [net-next] libceph: Fix spelling mistakes
>     https://git.kernel.org/netdev/net-next/c/dd0d91b91398

Not sure who is in charge of the bot.  Jakub, perhaps you?

This patch was picked up into ceph tree yesterday and is already in
linux-next:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20210603&id=f9f9eb473076d7d1e40bfb42e626c6ae19720647

Thanks,

                Ilya

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-03 20:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02  6:56 [PATCH net-next] libceph: Fix spelling mistakes Zheng Yongjun
2021-06-02  7:58 ` Ilya Dryomov
2021-06-03 20:30 ` patchwork-bot+netdevbpf
2021-06-03 20:42   ` Ilya Dryomov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).