]> Git Repo - linux.git/commit
perf bench: Fix NULL check against wrong variable
authorWeiguo Li <[email protected]>
Fri, 11 Mar 2022 13:07:16 +0000 (21:07 +0800)
committerArnaldo Carvalho de Melo <[email protected]>
Sat, 12 Mar 2022 13:49:13 +0000 (10:49 -0300)
commit073a15c3512f6b8d36c0c05992cf31e845f4dfe0
tree8faeb752c72bc90de45cc70bf9a53eeb99801912
parenta7a72631f62445e3671b7cab5ad01f856c1aa90d
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]>
tools/perf/bench/epoll-ctl.c
This page took 0.05577 seconds and 4 git commands to generate.