diff mbox series

selftests/net/pmtu.sh: Fix typo in error message

Message ID 20240814173121.33590-1-abhashkumarjha123@gmail.com (mailing list archive)
State Accepted
Commit e7d731326ef0622f103e5ed47d3405f71cdcd7f6
Delegated to: Netdev Maintainers
Headers show
Series selftests/net/pmtu.sh: Fix typo in error message | expand

Checks

Context Check Description
netdev/series_format warning Single patches do not need cover letters; Target tree name not specified in the subject
netdev/tree_selection success Guessed tree name to be net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 7 this patch: 7
netdev/build_tools success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers warning 2 maintainers not CCed: pabeni@redhat.com edumazet@google.com
netdev/build_clang success Errors and warnings before: 7 this patch: 7
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success net selftest script(s) already in Makefile
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 7 this patch: 7
netdev/checkpatch warning WARNING: line length of 130 exceeds 80 columns
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-08-15--18-00 (tests: 706)

Commit Message

Abhash Jha Aug. 14, 2024, 5:31 p.m. UTC
The word 'expected' was spelled as 'exepcted'.
Fixed the typo in this patch.

Signed-off-by: Abhash Jha <abhashkumarjha123@gmail.com>
---
 tools/testing/selftests/net/pmtu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Hangbin Liu Aug. 15, 2024, 7:35 a.m. UTC | #1
Hi Abhash,

You need add target repo for the patch. e.g. [PATCH net] selftests...

On Wed, Aug 14, 2024 at 11:01:21PM +0530, Abhash Jha wrote:
> The word 'expected' was spelled as 'exepcted'.
> Fixed the typo in this patch.
> 

Here you need to add the fixes tag. e.g.
Fixes: 136a1b434bbb ("selftests: net: test vxlan pmtu exceptions with tcp")

> Signed-off-by: Abhash Jha <abhashkumarjha123@gmail.com>
> ---
>  tools/testing/selftests/net/pmtu.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/net/pmtu.sh b/tools/testing/selftests/net/pmtu.sh
> index cfc849580..62eceb385 100755
> --- a/tools/testing/selftests/net/pmtu.sh
> +++ b/tools/testing/selftests/net/pmtu.sh
> @@ -1347,7 +1347,7 @@ test_pmtu_ipvX_over_bridged_vxlanY_or_geneveY_exception() {
>  		size=$(du -sb $tmpoutfile)
>  		size=${size%%/tmp/*}
>  
> -		[ $size -ne 1048576 ] && err "File size $size mismatches exepcted value in locally bridged vxlan test" && return 1
> +		[ $size -ne 1048576 ] && err "File size $size mismatches expected value in locally bridged vxlan test" && return 1
>  	done
>  
>  	rm -f "$tmpoutfile"
> -- 
> 2.43.0
>
Simon Horman Aug. 15, 2024, 12:53 p.m. UTC | #2
On Wed, Aug 14, 2024 at 11:01:21PM +0530, Abhash Jha wrote:
> The word 'expected' was spelled as 'exepcted'.
> Fixed the typo in this patch.
> 
> Signed-off-by: Abhash Jha <abhashkumarjha123@gmail.com>

I agree with the correctness of this change.
And I verified that with this patch applied,
coedspell only flags false positives in this file.

Reviewed-by: Simon Horman <horms@kernel.org>
Abhash Jha Aug. 15, 2024, 5:07 p.m. UTC | #3
> I agree with the correctness of this change.
> And I verified that with this patch applied,
> coedspell only flags false positives in this file.
>
> Reviewed-by: Simon Horman <horms@kernel.org>

Hi Simon,
Thanks for the review, Should I still send the patch again with the
fixes tag and the target repo for the patch as suggested by
liuhangbin@gmail.com. Or is it fine for now.

Regards,
Abhash
Simon Horman Aug. 15, 2024, 5:45 p.m. UTC | #4
On Thu, Aug 15, 2024 at 10:37:19PM +0530, Abhash jha wrote:
> > I agree with the correctness of this change.
> > And I verified that with this patch applied,
> > coedspell only flags false positives in this file.
> >
> > Reviewed-by: Simon Horman <horms@kernel.org>
> 
> Hi Simon,
> Thanks for the review, Should I still send the patch again with the
> fixes tag and the target repo for the patch as suggested by
> liuhangbin@gmail.com. Or is it fine for now.

Sorry for sending my response before I noticed Hangbin's -
I didn't mean to send conflicting information.

TBH, I'm not entirely sure this is a fix, for which my
rule of thumb is that it resolves a user-visible bug.
But if you believe it is, then please follow Hangbin's advice.
Jakub Kicinski Aug. 16, 2024, 12:38 a.m. UTC | #5
On Thu, 15 Aug 2024 18:45:08 +0100 Simon Horman wrote:
> On Thu, Aug 15, 2024 at 10:37:19PM +0530, Abhash jha wrote:
> > > I agree with the correctness of this change.
> > > And I verified that with this patch applied,
> > > coedspell only flags false positives in this file.
> > >
> > > Reviewed-by: Simon Horman <horms@kernel.org>  
> > 
> > Hi Simon,
> > Thanks for the review, Should I still send the patch again with the
> > fixes tag and the target repo for the patch as suggested by
> > liuhangbin@gmail.com. Or is it fine for now.  
> 
> Sorry for sending my response before I noticed Hangbin's -
> I didn't mean to send conflicting information.
> 
> TBH, I'm not entirely sure this is a fix, for which my
> rule of thumb is that it resolves a user-visible bug.

+1, same feeling here, I'll apply as is.
patchwork-bot+netdevbpf@kernel.org Aug. 16, 2024, 2:01 a.m. UTC | #6
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 14 Aug 2024 23:01:21 +0530 you wrote:
> The word 'expected' was spelled as 'exepcted'.
> Fixed the typo in this patch.
> 
> Signed-off-by: Abhash Jha <abhashkumarjha123@gmail.com>
> ---
>  tools/testing/selftests/net/pmtu.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - selftests/net/pmtu.sh: Fix typo in error message
    https://git.kernel.org/netdev/net-next/c/e7d731326ef0

You are awesome, thank you!
Hangbin Liu Aug. 16, 2024, 3:55 a.m. UTC | #7
On Thu, Aug 15, 2024 at 05:38:18PM -0700, Jakub Kicinski wrote:
> On Thu, 15 Aug 2024 18:45:08 +0100 Simon Horman wrote:
> > On Thu, Aug 15, 2024 at 10:37:19PM +0530, Abhash jha wrote:
> > > > I agree with the correctness of this change.
> > > > And I verified that with this patch applied,
> > > > coedspell only flags false positives in this file.
> > > >
> > > > Reviewed-by: Simon Horman <horms@kernel.org>  
> > > 
> > > Hi Simon,
> > > Thanks for the review, Should I still send the patch again with the
> > > fixes tag and the target repo for the patch as suggested by
> > > liuhangbin@gmail.com. Or is it fine for now.  
> > 
> > Sorry for sending my response before I noticed Hangbin's -
> > I didn't mean to send conflicting information.
> > 
> > TBH, I'm not entirely sure this is a fix, for which my
> > rule of thumb is that it resolves a user-visible bug.
> 
> +1, same feeling here, I'll apply as is.

Thanks, good to know this.

Hangbin
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/pmtu.sh b/tools/testing/selftests/net/pmtu.sh
index cfc849580..62eceb385 100755
--- a/tools/testing/selftests/net/pmtu.sh
+++ b/tools/testing/selftests/net/pmtu.sh
@@ -1347,7 +1347,7 @@  test_pmtu_ipvX_over_bridged_vxlanY_or_geneveY_exception() {
 		size=$(du -sb $tmpoutfile)
 		size=${size%%/tmp/*}
 
-		[ $size -ne 1048576 ] && err "File size $size mismatches exepcted value in locally bridged vxlan test" && return 1
+		[ $size -ne 1048576 ] && err "File size $size mismatches expected value in locally bridged vxlan test" && return 1
 	done
 
 	rm -f "$tmpoutfile"