git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf probe: Clean up probe_point_lazy_walker() return value
[pandora-kernel.git]
/
tools
/
perf
/
util
/
probe-finder.c
diff --git
a/tools/perf/util/probe-finder.c
b/tools/perf/util/probe-finder.c
index
17f9c4a
..
194f9e2
100644
(file)
--- a/
tools/perf/util/probe-finder.c
+++ b/
tools/perf/util/probe-finder.c
@@
-1328,7
+1328,7
@@
static int probe_point_lazy_walker(const char *fname, int lineno,
* Continue if no error, because the lazy pattern will match
* to other lines
*/
- return ret < 0 ?: 0;
+ return ret < 0 ?
ret
: 0;
}
/* Find probe points from lazy pattern */