Joe Perches
8c8c45cfdd
checkpatch: fix macro argument reuse test
...
Multiple line macro definitions where the arguments are separated by line
continuations can cause checkpatch to emit invalid syntax regex tests.
This can occur when a single argument is modified in a part of a patch.
For example: (to not add a diff in the commit message)
$ ./scripts/checkpatch.pl --git db023296f0115d2fe01fdabad54678f2b806da23
Unterminated \g... pattern in regex; <very long regex omitted>
And, the test does not work correctly when these arguments are all new as
the initial patch line addition "+" is used in the argument name.
Fix this by stripping the line continuations and any "+" from the list of
arguments.
Link: http://lkml.kernel.org/r/86cdb43a4db70670c102020093f7fb4eb3003e01.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-22 10:52:48 -07:00
..
2018-07-18 01:18:05 +09:00
2018-08-14 08:58:49 +09:00
2018-05-14 19:45:01 -05:00
2018-07-24 16:14:06 -07:00
2018-01-19 10:09:41 -08:00
2018-05-17 22:43:35 +09:00
2018-08-15 12:50:10 -07:00
2017-03-28 16:16:52 +02:00
2018-08-18 10:21:49 -07:00
2018-07-28 10:53:44 +09:00
2018-06-05 19:22:35 +02:00
2018-07-29 11:08:38 +09:00
2018-07-18 01:18:05 +09:00
2018-05-17 22:44:57 +09:00
2018-04-07 19:04:02 +09:00
2018-07-18 01:18:05 +09:00
2018-04-09 16:47:28 +02:00
2017-05-14 11:20:44 +09:00
2018-05-17 17:34:43 +02:00
2018-06-28 13:36:39 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2018-08-22 10:52:48 -07:00
2018-07-02 23:54:28 +10:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-08 18:56:01 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-14 08:58:56 +09:00
2017-11-02 11:10:55 +01:00
2014-04-30 17:34:32 +02:00
2016-10-11 15:06:30 -07:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:34 -08:00
2018-07-18 01:18:05 +09:00
2017-11-02 11:10:55 +01:00
2018-07-02 11:25:00 -06:00
2017-05-14 11:20:44 +09:00
2018-05-04 06:21:06 -04:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-08 09:32:32 +09:00
2018-06-05 09:04:37 -07:00
2018-03-26 02:01:24 +09:00
2017-10-23 08:01:37 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-08 18:56:00 +09:00
2018-06-25 23:21:13 +09:00
2018-03-26 02:01:18 +09:00
2017-05-14 11:20:44 +09:00
2018-08-22 10:52:48 -07:00
2012-06-27 12:44:29 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2016-02-26 15:30:20 +00:00
2018-05-29 22:04:12 +09:00
2018-08-15 12:50:10 -07:00
2018-06-11 09:16:22 +09:00
2018-08-06 13:36:20 -06:00
2017-11-02 11:10:55 +01:00
2018-04-07 08:50:34 +10:00
2017-11-02 11:10:55 +01:00
2018-05-17 22:43:36 +09:00
2018-07-18 01:18:05 +09:00
2017-11-17 17:45:29 -08:00
2018-08-20 18:32:00 -07:00
2018-08-09 21:51:17 +09:00
2017-11-14 18:25:40 -08:00
2018-01-18 09:37:53 +09:00
2018-07-24 16:11:07 -07:00
2017-11-17 17:45:29 -08:00
2018-07-18 01:18:05 +09:00
2018-02-06 18:32:47 -08:00
2018-06-11 09:14:08 +09:00
2018-07-28 10:34:10 +09:00
2018-08-03 00:47:00 +09:00
2018-07-06 22:04:03 +09:00
2018-07-06 22:04:03 +09:00
2018-07-06 22:04:03 +09:00
2018-08-10 20:19:58 -07:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2018-03-26 02:01:19 +09:00
2017-03-11 11:13:38 +09:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-29 22:04:12 +09:00
2018-05-29 22:04:12 +09:00
2018-06-01 23:08:09 +10:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2014-10-14 02:18:23 +02:00
2018-08-17 16:20:27 -07:00
2018-08-22 10:52:47 -07:00
2017-09-08 10:02:55 -06:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-18 19:32:54 -07:00
2011-01-22 15:50:59 +01:00
2018-07-07 17:44:52 +02:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00