* [PATCH V3] checkpatch: Fix spelling errors and remove repeated word
@ 2020-11-13 15:23 Dwaipayan Ray
2020-11-13 16:15 ` Joe Perches
0 siblings, 1 reply; 2+ messages in thread
From: Dwaipayan Ray @ 2020-11-13 15:23 UTC (permalink / raw)
To: joe; +Cc: linux-kernel-mentees, dwaipayanray1, linux-kernel, lukas.bulwahn
Delete repeated word in scripts/checkpatch.pl:
"are are" -> "are"
Fix typos:
"commments" -> "comments"
"falsly" -> "falsely"
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
---
Changes in V3:
- Change subject line
Changes in V2:
- Add correction for falsly
scripts/checkpatch.pl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2749f32dffe9..041b82f6669e 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2841,7 +2841,7 @@ sub process {
# stable@vger.kernel.org or stable@kernel.org shouldn't
- # have an email name. In addition commments should strictly
+ # have an email name. In addition comments should strictly
# begin with a #
if ($email =~ /^.*stable\@(?:vger\.)?kernel\.org/i) {
if (($comment ne "" && $comment !~ /^#.+/) ||
@@ -5000,7 +5000,7 @@ sub process {
## $line !~ /^.\s*$Type\s+$Ident(?:\s*=[^,{]*)?\s*,\s*$Type\s*$Ident.*/) {
##
## # Remove any bracketed sections to ensure we do not
-## # falsly report the parameters of functions.
+## # falsely report the parameters of functions.
## my $ln = $line;
## while ($ln =~ s/\([^\(\)]*\)//g) {
## }
@@ -7109,7 +7109,7 @@ sub process {
exit(0);
}
- # This is not a patch, and we are are in 'no-patch' mode so
+ # This is not a patch, and we are in 'no-patch' mode so
# just keep quiet.
if (!$chk_patch && !$is_patch) {
exit(0);
--
2.27.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH V3] checkpatch: Fix spelling errors and remove repeated word
2020-11-13 15:23 [PATCH V3] checkpatch: Fix spelling errors and remove repeated word Dwaipayan Ray
@ 2020-11-13 16:15 ` Joe Perches
0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2020-11-13 16:15 UTC (permalink / raw)
To: Dwaipayan Ray, Andrew Morton
Cc: linux-kernel-mentees, linux-kernel, lukas.bulwahn
On Fri, 2020-11-13 at 20:53 +0530, Dwaipayan Ray wrote:
> Delete repeated word in scripts/checkpatch.pl:
> "are are" -> "are"
>
> Fix typos:
> "commments" -> "comments"
> "falsly" -> "falsely"
>
> Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
thanks.
Acked-by: Joe Perches <joe@perches.com>
> ---
> Changes in V3:
> - Change subject line
> Changes in V2:
> - Add correction for falsly
>
> scripts/checkpatch.pl | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 2749f32dffe9..041b82f6669e 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -2841,7 +2841,7 @@ sub process {
>
>
>
>
> # stable@vger.kernel.org or stable@kernel.org shouldn't
> - # have an email name. In addition commments should strictly
> + # have an email name. In addition comments should strictly
> # begin with a #
> if ($email =~ /^.*stable\@(?:vger\.)?kernel\.org/i) {
> if (($comment ne "" && $comment !~ /^#.+/) ||
> @@ -5000,7 +5000,7 @@ sub process {
> ## $line !~ /^.\s*$Type\s+$Ident(?:\s*=[^,{]*)?\s*,\s*$Type\s*$Ident.*/) {
> ##
> ## # Remove any bracketed sections to ensure we do not
> -## # falsly report the parameters of functions.
> +## # falsely report the parameters of functions.
> ## my $ln = $line;
> ## while ($ln =~ s/\([^\(\)]*\)//g) {
> ## }
> @@ -7109,7 +7109,7 @@ sub process {
> exit(0);
> }
>
>
> - # This is not a patch, and we are are in 'no-patch' mode so
> + # This is not a patch, and we are in 'no-patch' mode so
> # just keep quiet.
> if (!$chk_patch && !$is_patch) {
> exit(0);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-13 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13 15:23 [PATCH V3] checkpatch: Fix spelling errors and remove repeated word Dwaipayan Ray
2020-11-13 16:15 ` Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome