diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-10-26 23:23:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 01:52:20 +0200 |
commit | 3bf9a009fccea422bc355414a3bdf5f35fff9f36 (patch) | |
tree | 18a47ff24bae81950fae0e8b550835723da17cd1 /scripts/mksysmap | |
parent | checkpatch: ensure kconfig help checks only apply when we are adding help (diff) | |
download | linux-3bf9a009fccea422bc355414a3bdf5f35fff9f36.tar.xz linux-3bf9a009fccea422bc355414a3bdf5f35fff9f36.zip |
checkpatch: check for incorrect permissions
Throw an error when a source file has been given execute permissions using
the mode change line present in git diffs. Also alow the filename
matching to use the "diff" line in addition to the "+++" line, since the
mode change lines appear before any "+++" lines.
[apw@canonical.com: simplified filename logic slightly, added tests]
Cc: Andy Whitcroft <apw@canonical.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions