Re: [PATCH V2] checkpatch: Improve the octal permissions tests

2016-09-28 Thread Ramiro Oliveira
On 9/28/2016 4:05 AM, Joe Perches wrote: > Signed-off-by: Joe Perches > --- > > V2: Move the SYMBOLIC_PERMS test. > > scripts/checkpatch.pl | 60 > +-- > 1 file changed, 44 insertions(+), 16 deletions(-) Tested-by: Ramiro Oliveira

[PATCH V2] checkpatch: Improve the octal permissions tests

2016-09-27 Thread Joe Perches
The function calls with octal permissions commonly span multiple lines. The current test is line oriented and fails to find some matches. Make the test use the $stat variable instead of the $line variable to span multiple lines. Also add a few functions to the known functions with permissions lis