linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] rds: Fix spelling mistakes
@ 2021-05-31  6:36 Zheng Yongjun
  2021-05-31  8:48 ` Haakon Bugge
  2021-06-01  5:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Zheng Yongjun @ 2021-05-31  6:36 UTC (permalink / raw)
  To: davem, kuba, netdev, linux-rdma, linux-kernel
  Cc: santosh.shilimkar, Zheng Yongjun

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(-)

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


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

* Re: [PATCH net-next] rds: Fix spelling mistakes
  2021-05-31  6:36 [PATCH net-next] rds: Fix spelling mistakes Zheng Yongjun
@ 2021-05-31  8:48 ` Haakon Bugge
  2021-06-01  5:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Haakon Bugge @ 2021-05-31  8:48 UTC (permalink / raw)
  To: Zheng Yongjun
  Cc: David S. Miller, kuba, netdev, OFED mailing list, linux-kernel,
	Santosh Shilimkar



> 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
> 


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

* Re: [PATCH net-next] rds: Fix spelling mistakes
  2021-05-31  6:36 [PATCH net-next] rds: Fix spelling mistakes Zheng Yongjun
  2021-05-31  8:48 ` Haakon Bugge
@ 2021-06-01  5:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-01  5:50 UTC (permalink / raw)
  To: Zheng Yongjun
  Cc: davem, kuba, netdev, linux-rdma, linux-kernel, santosh.shilimkar

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



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

end of thread, other threads:[~2021-06-01  5:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  6:36 [PATCH net-next] rds: Fix spelling mistakes Zheng Yongjun
2021-05-31  8:48 ` Haakon Bugge
2021-06-01  5:50 ` patchwork-bot+netdevbpf

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).