diff mbox series

[net-next] rds: Fix spelling mistakes

Message ID 20210531063617.3018637-1-zhengyongjun3@huawei.com (mailing list archive)
State Accepted
Commit 379aecbce08f7187feab9aa12609d049ce2675b4
Delegated to: Netdev Maintainers
Headers show
Series [net-next] rds: Fix spelling mistakes | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/cc_maintainers warning 1 maintainers not CCed: rds-devel@oss.oracle.com
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 16 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

Zheng Yongjun May 31, 2021, 6:36 a.m. UTC
Fix some spelling mistakes in comments:
alloced  ==> allocated

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 net/rds/ib_ring.c  | 2 +-
 net/rds/tcp_recv.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Haakon Bugge May 31, 2021, 8:48 a.m. UTC | #1
> On 31 May 2021, at 08:36, Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
> 
> Fix some spelling mistakes in comments:

Fix two spelling mistakes.



> alloced  ==> allocated
> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>

LGTM,

Reviewed-by: Håkon Bugge <haakon.bugge@oracle.com>


> ---
> net/rds/ib_ring.c  | 2 +-
> net/rds/tcp_recv.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net/rds/ib_ring.c b/net/rds/ib_ring.c
> index ff97e8eda858..006b2e441418 100644
> --- a/net/rds/ib_ring.c
> +++ b/net/rds/ib_ring.c
> @@ -141,7 +141,7 @@ int rds_ib_ring_low(struct rds_ib_work_ring *ring)
> }
> 
> /*
> - * returns the oldest alloced ring entry.  This will be the next one
> + * returns the oldest allocated ring entry.  This will be the next one
>  * freed.  This can't be called if there are none allocated.
>  */
> u32 rds_ib_ring_oldest(struct rds_ib_work_ring *ring)
> diff --git a/net/rds/tcp_recv.c b/net/rds/tcp_recv.c
> index 42c5ff1eda95..f4ee13da90c7 100644
> --- a/net/rds/tcp_recv.c
> +++ b/net/rds/tcp_recv.c
> @@ -177,7 +177,7 @@ static int rds_tcp_data_recv(read_descriptor_t *desc, struct sk_buff *skb,
> 				goto out;
> 			}
> 			tc->t_tinc = tinc;
> -			rdsdebug("alloced tinc %p\n", tinc);
> +			rdsdebug("allocated tinc %p\n", tinc);
> 			rds_inc_path_init(&tinc->ti_inc, cp,
> 					  &cp->cp_conn->c_faddr);
> 			tinc->ti_inc.i_rx_lat_trace[RDS_MSG_RX_HDR] =
> -- 
> 2.25.1
>
patchwork-bot+netdevbpf@kernel.org June 1, 2021, 5:50 a.m. UTC | #2
Hello:

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

On Mon, 31 May 2021 14:36:17 +0800 you wrote:
> Fix some spelling mistakes in comments:
> alloced  ==> allocated
> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> ---
>  net/rds/ib_ring.c  | 2 +-
>  net/rds/tcp_recv.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

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

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

Patch

diff --git a/net/rds/ib_ring.c b/net/rds/ib_ring.c
index ff97e8eda858..006b2e441418 100644
--- a/net/rds/ib_ring.c
+++ b/net/rds/ib_ring.c
@@ -141,7 +141,7 @@  int rds_ib_ring_low(struct rds_ib_work_ring *ring)
 }
 
 /*
- * returns the oldest alloced ring entry.  This will be the next one
+ * returns the oldest allocated ring entry.  This will be the next one
  * freed.  This can't be called if there are none allocated.
  */
 u32 rds_ib_ring_oldest(struct rds_ib_work_ring *ring)
diff --git a/net/rds/tcp_recv.c b/net/rds/tcp_recv.c
index 42c5ff1eda95..f4ee13da90c7 100644
--- a/net/rds/tcp_recv.c
+++ b/net/rds/tcp_recv.c
@@ -177,7 +177,7 @@  static int rds_tcp_data_recv(read_descriptor_t *desc, struct sk_buff *skb,
 				goto out;
 			}
 			tc->t_tinc = tinc;
-			rdsdebug("alloced tinc %p\n", tinc);
+			rdsdebug("allocated tinc %p\n", tinc);
 			rds_inc_path_init(&tinc->ti_inc, cp,
 					  &cp->cp_conn->c_faddr);
 			tinc->ti_inc.i_rx_lat_trace[RDS_MSG_RX_HDR] =