mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* checkpatch.pl- Cleared some white spaces which generated warnings and errors.
@ 2020-08-16 12:55 Piyush Thange
  2020-08-16 15:43 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Piyush Thange @ 2020-08-16 12:55 UTC (permalink / raw)
  To: apw, joe, linux-kernel


commit eb027935d819a3160404f05633ae47f8b8a061c8
Author:     Piyush Thange <pthange19@gmail.com>
AuthorDate: Sun Aug 16 17:52:26 2020 +0530
Commit:     Piyush Thange <pthange19@gmail.com>
CommitDate: Sun Aug 16 17:52:26 2020 +0530

     scripts:checkpatch.pl:Cleared the white spaces and errors occured 
due to them.

     I've removed the white spaced on the line 498, which generated 
warning and
     errors presented by checkpatch.pl.
     Please provide review.

     Signed-off-by: Piyush Thange <pthange19@gmail.com>

Signed-off-by: Piyush Thange <pthange19@gmail.com>
---
  scripts/checkpatch.pl | 12 +-----------
  1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2cbeae6d9aee..fa991a912d9b 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -488,17 +488,7 @@ our $allocFunctions = qr{(?x:
      dma_alloc_coherent
  )};

-our $signature_tags = qr{(?xi:
-    Signed-off-by:|
-    Co-developed-by:|
-    Acked-by:|
-    Tested-by:|
-    Reviewed-by:|
-    Reported-by:|
-    Suggested-by:|
-    To:|
-    Cc:
-)};
+our $signature_tags = 
qr{(?xi:Signed-off-by:|Co-developed-by:|Acked-by:|Tested-by:|Reviewed-by:|Reported-by:|Suggested-by:|To:|Cc:)};

  our @typeListMisordered = (
      qr{char\s+(?:un)?signed},
-- 
2.25.1


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

* Re: checkpatch.pl- Cleared some white spaces which generated warnings and errors.
  2020-08-16 12:55 checkpatch.pl- Cleared some white spaces which generated warnings and errors Piyush Thange
@ 2020-08-16 15:43 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2020-08-16 15:43 UTC (permalink / raw)
  To: Piyush Thange, apw, linux-kernel

On Sun, 2020-08-16 at 18:25 +0530, Piyush Thange wrote:
> commit eb027935d819a3160404f05633ae47f8b8a061c8
[]
>      scripts:checkpatch.pl:Cleared the white spaces and errors occured 
> due to them.
[]
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -488,17 +488,7 @@ our $allocFunctions = qr{(?x:
>       dma_alloc_coherent
>   )};
> 
> -our $signature_tags = qr{(?xi:
> -    Signed-off-by:|
> -    Co-developed-by:|
> -    Acked-by:|
> -    Tested-by:|
> -    Reviewed-by:|
> -    Reported-by:|
> -    Suggested-by:|
> -    To:|
> -    Cc:
> -)};
> +our $signature_tags = 
> qr{(?xi:Signed-off-by:|Co-developed-by:|Acked-by:|Tested-by:|Reviewed-by:|Reported-by:|Suggested-by:|To:|Cc:)};

Do you think this is more readable now?
No thanks.



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

end of thread, other threads:[~2020-08-16 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-16 12:55 checkpatch.pl- Cleared some white spaces which generated warnings and errors Piyush Thange
2020-08-16 15:43 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®