aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPhil Carmody <[email protected]>2009-12-14 18:00:29 -0800
committerLinus Torvalds <[email protected]>2009-12-15 08:53:27 -0800
commit603c4ba96be998a8dd7a6f9b23681c49acdf4b64 (patch)
tree1b85fc526219085ceaffca54150eee64c3aba4a0 /tools/perf/scripts/python
parent9385565e20c4acf97cd8e2fd7155750e578edcc4 (diff)
err.h: add helper function to simplify pointer error checking
There are quite a few instances in the kernel of checks of pointers both against NULL and against the errno range, handling both cases identically. This additional helper function would simplify such code. [[email protected]: build fix] Signed-off-by: Phil Carmody <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions