diff mbox series

selftests: net: Fix typo in psock_tpacket.c

Message ID 20241204075756.11561-1-zhujun2@cmss.chinamobile.com (mailing list archive)
State New
Headers show
Series selftests: net: Fix typo in psock_tpacket.c | expand

Commit Message

Zhu Jun Dec. 4, 2024, 7:57 a.m. UTC
The word 'accross' is wrong, so fix it.

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
---
 tools/testing/selftests/net/psock_tpacket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman Dec. 6, 2024, 12:59 p.m. UTC | #1
On Tue, Dec 03, 2024 at 11:57:56PM -0800, Zhu Jun wrote:
> The word 'accross' is wrong, so fix it.
> 
> Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
> ---
>  tools/testing/selftests/net/psock_tpacket.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/net/psock_tpacket.c b/tools/testing/selftests/net/psock_tpacket.c
> index 404a2ce75..221270cee 100644
> --- a/tools/testing/selftests/net/psock_tpacket.c
> +++ b/tools/testing/selftests/net/psock_tpacket.c
> @@ -12,7 +12,7 @@
>   *
>   * Datapath:
>   *   Open a pair of packet sockets and send resp. receive an a priori known
> - *   packet pattern accross the sockets and check if it was received resp.
> + *   packet pattern across the sockets and check if it was received resp.
>   *   sent correctly. Fanout in combination with RX_RING is currently not
>   *   tested here.
>   *

Thanks Zhu Jun,

FTR, I'm not sure that I understand the grammar in the comment.
But the spelling correction looks good to me and codespell
doesn't seem to flag any other spelling errors in this file.
So this change looks good to me.

Reviewed-by: Simon Horman <horms@kernel.org>
Jakub Kicinski Dec. 7, 2024, 1:50 a.m. UTC | #2
On Fri, 6 Dec 2024 12:59:55 +0000 Simon Horman wrote:
> FTR, I'm not sure that I understand the grammar in the comment.

+1

Looks like the author didn't do much due diligence.
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/psock_tpacket.c b/tools/testing/selftests/net/psock_tpacket.c
index 404a2ce75..221270cee 100644
--- a/tools/testing/selftests/net/psock_tpacket.c
+++ b/tools/testing/selftests/net/psock_tpacket.c
@@ -12,7 +12,7 @@ 
  *
  * Datapath:
  *   Open a pair of packet sockets and send resp. receive an a priori known
- *   packet pattern accross the sockets and check if it was received resp.
+ *   packet pattern across the sockets and check if it was received resp.
  *   sent correctly. Fanout in combination with RX_RING is currently not
  *   tested here.
  *