Commit 3c1d9cf
ftrace: Fix NULL memory allocation check
The check for a failed memory location is incorrectly checking
the wrong level of pointer indirection by checking !filter_hash
rather than !*filter_hash. Fix this.
Cc: asami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: 0ae6b8c ("ftrace: Fix accounting of subop hashes")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent f5178c4 commit 3c1d9cf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3436 | 3436 | | |
3437 | 3437 | | |
3438 | 3438 | | |
3439 | | - | |
| 3439 | + | |
3440 | 3440 | | |
3441 | 3441 | | |
3442 | 3442 | | |
| |||
0 commit comments