All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] checkpatch: remove unneeded or ("|")
@ 2015-03-12 14:07 Christian Borntraeger
  2015-03-12 14:13 ` Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Borntraeger @ 2015-03-12 14:07 UTC (permalink / raw)
  To: Andy Whitcroft, Joe Perches; +Cc: linux-kernel, Christian Borntraeger

while porting commit 89a883530fe7 ("checkpatch: ## is not a valid
modifier") to QEMU, Peter Maydell noticed that the | at the end of
the list is not necessary.

Lets get rid of it in kernel checkpatch.pl

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index d124359..403266d 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1550,7 +1550,7 @@ sub possible {
 			asm|__asm__|
 			do|
 			\#|
-			\#\#|
+			\#\#
 		)(?:\s|$)|
 		^(?:typedef|struct|enum)\b
 	    )}x;
-- 
2.3.0


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

end of thread, other threads:[~2015-03-24 14:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 14:07 [PATCH] checkpatch: remove unneeded or ("|") Christian Borntraeger
2015-03-12 14:13 ` Joe Perches
2015-03-12 14:56   ` Andy Whitcroft
2015-03-24 11:54     ` Christian Borntraeger
2015-03-24 14:11       ` Joe Perches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.