aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2014-12-10 15:52:02 -0800
committerLinus Torvalds <[email protected]>2014-12-10 17:41:12 -0800
commitb75ac618df751b927469ddbca63cf151a62f0f9d (patch)
treefbc657be2fa3993e8639d5e083f4962811b025c5 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent90ad30e5b2a759333f06eee64e59a0d886d02036 (diff)
checkpatch: add --strict "pointer comparison to NULL" test
It seems there are more and more uses of "if (!ptr)" in preference to "if (ptr == NULL)" so add a --strict test to emit a message when using the latter form. This also finds (ptr != NULL). Fix it too if desired. Signed-off-by: Joe Perches <[email protected]> Cc: Dan Carpenter <[email protected]> Cc: Greg KH <[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