diff options
| author | Weiguo Li <[email protected]> | 2022-03-11 13:07:16 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-03-12 13:49:13 +0000 |
| commit | 073a15c3512f6b8d36c0c05992cf31e845f4dfe0 (patch) | |
| tree | 8faeb752c72bc90de45cc70bf9a53eeb99801912 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf parse-events: Fix NULL check against wrong variable (diff) | |
| download | kernel-073a15c3512f6b8d36c0c05992cf31e845f4dfe0.tar.gz kernel-073a15c3512f6b8d36c0c05992cf31e845f4dfe0.zip | |
perf bench: Fix NULL check against wrong variable
We did a NULL check after "epollfdp = calloc(...)", but we checked
"epollfd" instead of "epollfdp".
Signed-off-by: Weiguo Li <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
