aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorVadim Bendebury <[email protected]>2019-03-07 16:28:38 -0800
committerLinus Torvalds <[email protected]>2019-03-07 18:32:01 -0800
commit98005e8c743f9a5ef3a0e6c971d424da118bd07e (patch)
treeefd727b0d19877ac7f8c60be365539ad78a0c811 /tools/perf/scripts/python/mem-phys-addr.py
parente29a70f1537b1225daceae8d34bf5bfb80546138 (diff)
checkpatch: allow reporting C99 style comments
Presently C99 style comments are removed unconditionally before actual patch validity check happens. This is a problem for some third party projects which use checkpatch.pl but do not allow C99 style comments. This patch adds yet another variable, named C99_COMMENT_TOLERANCE. If it is included in the --ignore command line or config file options list, C99 comments in the patch are reported as errors. Tested by processing a patch with a C99 style comment, it passes the check just fine unless '--ignore C99_COMMENT_TOLERANCE' is present in .checkpatch.conf. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Vadim Bendebury <[email protected]> Cc: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions