[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOi1vP-QtGyRGT-y2naZPzfMOEvv4MQY_iWDhws5e7hagAQQrQ@mail.gmail.com>
Date: Wed, 2 Jun 2021 09:58:58 +0200
From: Ilya Dryomov <idryomov@...il.com>
To: Zheng Yongjun <zhengyongjun3@...wei.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Ceph Development <ceph-devel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Jeff Layton <jlayton@...nel.org>
Subject: Re: [PATCH net-next] libceph: Fix spelling mistakes
On Wed, Jun 2, 2021 at 8:42 AM Zheng Yongjun <zhengyongjun3@...wei.com> wrote:
>
> Fix some spelling mistakes in comments:
> enconding ==> encoding
> ambigous ==> ambiguous
> orignal ==> original
> encyption ==> encryption
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.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
Powered by blists - more mailing lists