checkpatch: update octal permissions warning
authorJoe Perches <joe@perches.com>
Thu, 3 Apr 2014 21:49:15 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:13 +0000 (16:21 -0700)
commit1727cc70451017e6d9c0129681792c18f166af75
treeb09810ebd74791d336091cfb63d714d42655ec73
parentfbdb8138cf0c75a0cf21991ca05ecc9fdff6e070
checkpatch: update octal permissions warning

When checking permissions, make sure 4 octal digits are used, but allow
a single 0 too.

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>
scripts/checkpatch.pl