diff options
| author | Joe Perches <joe@perches.com> | 2014-04-03 14:49:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 16:21:12 -0700 |
| commit | 2435880fe5cd51cd73c403aa4c07eadc3de799db (patch) | |
| tree | 0699aa30fb71bf84ac8d0cc295b0b0eaddf52a2b /scripts/checkstack.pl | |
| parent | checkpatch: don't warn on some function pointer return styles (diff) | |
| download | linux-2435880fe5cd51cd73c403aa4c07eadc3de799db.tar.gz linux-2435880fe5cd51cd73c403aa4c07eadc3de799db.zip | |
checkpatch: add checks for constant non-octal permissions
umode_t permissions are sometimes mistakenly written with decimal
constants. Verify that numeric permissions are using octal.
Add a list of the most commonly used functions and macros that have
umode_t permissions and the argument position.
Add a $Octal type to $Constant.
Allow $LvalOrFunc to be a pointer indirection 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>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
