aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-04-23 13:18:10 -0400
committerLinus Torvalds <[email protected]>2010-04-24 11:31:26 -0700
commit22eccdd7d2d94be48ae9b01fef5f52ccbb81dcd5 (patch)
tree346ba02239f0d3a1ed5d1d09fc3d323c29202270 /tools/perf/util/trace-event-scripting.c
parent453dc65931915abc61f92e12bba1fc4747ff5542 (diff)
ksm: check for ERR_PTR from follow_page()
The follow_page() function can potentially return -EFAULT so I added checks for this. Also I silenced an uninitialized variable warning on my version of gcc (version 4.3.2). Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Rik van Riel <[email protected]> Acked-by: Izik Eidus <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions