aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2018-09-04 22:46:20 +0000
committerLinus Torvalds <[email protected]>2018-09-04 23:45:02 +0000
commitc5967e989f1fe702e75d7405b9251ec7e490d847 (patch)
treed083551d8f67cdde55f4c31c06b0a59762580f9d /tools/perf/scripts/python/bin/export-to-postgresql-report
parentmm: fix BUG_ON() in vmf_insert_pfn_pud() from VM_MIXEDMAP removal (diff)
downloadkernel-c5967e989f1fe702e75d7405b9251ec7e490d847.tar.gz
kernel-c5967e989f1fe702e75d7405b9251ec7e490d847.zip
checkpatch: add __ro_after_init to known $Attribute
__ro_after_init is a specific __attribute__ that checkpatch does currently not understand. Add it to the known $Attribute types so that code that uses variables declared with __ro_after_init are not thought to be a modifier type. This appears as a defect in checkpatch output of code like: static bool trust_cpu __ro_after_init = IS_ENABLED(CONFIG_RANDOM_TRUST_CPU); [...] if (trust_cpu && arch_init) { where checkpatch reports: ERROR: space prohibited after that '&&' (ctx:WxW) if (trust_cpu && arch_init) { Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Joe Perches <[email protected]> Reported-by: Kees Cook <[email protected]> Tested-by: Kees Cook <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions