summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/Makefile
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-04-03 23:49:24 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:14 +0200
commit515a235ef9bcd31faa672740720936b22fa99c0e (patch)
tree3a9521bd77bf873f618103f2b345cc1dc58a17b2 /fs/jffs2/Makefile
parentcheckpatch.pl: modify warning message for printk usage (diff)
downloadlinux-515a235ef9bcd31faa672740720936b22fa99c0e.tar.xz
linux-515a235ef9bcd31faa672740720936b22fa99c0e.zip
checkpatch: improve octal permissions test speed
The current octal permissions test is very slow. When patch ("checkpatch: add checks for constant non-octal permissions") was added, processing time approximately tripled. Regain almost all of the performance by not looping through all the possible functions unless the line contains one of the functions. 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>
Diffstat (limited to 'fs/jffs2/Makefile')
0 files changed, 0 insertions, 0 deletions