Files
linux/scripts
Joe Perches bc22d9a7d3 checkpatch: test SYMBOLIC_PERMS multiple times per line
There are occasions where symbolic perms are used in a ternary like

		return (channel == 0) ? S_IRUGO | S_IWUSR : S_IRUGO;

The current test will find the first use "S_IRUGO | S_IWUSR" but not the
second use "S_IRUGO" on the same line.

Improve the test to look for all instances on a line.

Link: http://lkml.kernel.org/r/1522127944.12357.49.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-04-11 10:28:36 -07:00
..
2017-03-28 16:16:52 +02:00
2018-03-09 23:19:56 +01:00
2018-03-26 02:01:18 +09:00
2018-02-02 00:21:47 +09:00
2012-06-27 12:44:29 -07:00
2018-02-06 18:32:47 -08:00
2018-02-13 14:21:52 -07:00
2014-08-20 16:03:45 +02:00