Message ID | 168100731160.79534.374827110083836722.stgit@devnote2 (mailing list archive) |
---|---|
State | Accepted |
Commit | 6049674b5720edbbb13a7cb3e2f3d2affaa40c19 |
Headers | show |
Series | tracing: fprobe: Initialize ret valiable to fix smatch error | expand |
diff --git a/kernel/trace/fprobe.c b/kernel/trace/fprobe.c index 9abb3905bc8e..293184227394 100644 --- a/kernel/trace/fprobe.c +++ b/kernel/trace/fprobe.c @@ -27,7 +27,7 @@ static void fprobe_handler(unsigned long ip, unsigned long parent_ip, struct rethook_node *rh = NULL; struct fprobe *fp; void *entry_data = NULL; - int bit, ret; + int bit, ret = 0; fp = container_of(ops, struct fprobe, ops); if (fprobe_disabled(fp))