aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/marker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/marker.c b/kernel/marker.c
index 0f2a944329d3..2898b647d415 100644
--- a/kernel/marker.c
+++ b/kernel/marker.c
@@ -825,8 +825,6 @@ void *marker_get_private_data(const char *name, marker_probe_func *probe,
825 if (!e->ptype) { 825 if (!e->ptype) {
826 if (num == 0 && e->single.func == probe) 826 if (num == 0 && e->single.func == probe)
827 return e->single.probe_private; 827 return e->single.probe_private;
828 else
829 break;
830 } else { 828 } else {
831 struct marker_probe_closure *closure; 829 struct marker_probe_closure *closure;
832 int match = 0; 830 int match = 0;
@@ -838,6 +836,7 @@ void *marker_get_private_data(const char *name, marker_probe_func *probe,
838 return closure[i].probe_private; 836 return closure[i].probe_private;
839 } 837 }
840 } 838 }
839 break;
841 } 840 }
842 } 841 }
843 return ERR_PTR(-ENOENT); 842 return ERR_PTR(-ENOENT);