diff options
author | Weiguo Li <liwg06@foxmail.com> | 2022-03-11 21:07:16 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-03-12 10:49:13 -0300 |
commit | 073a15c3512f6b8d36c0c05992cf31e845f4dfe0 (patch) | |
tree | 8faeb752c72bc90de45cc70bf9a53eeb99801912 /Kbuild | |
parent | a7a72631f62445e3671b7cab5ad01f856c1aa90d (diff) | |
download | linux-073a15c3512f6b8d36c0c05992cf31e845f4dfe0.tar.gz linux-073a15c3512f6b8d36c0c05992cf31e845f4dfe0.tar.bz2 linux-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 <liwg06@foxmail.com>
Acked-by: Davidlohr Bueso <dave@stgolabs.net>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Davidlohr Bueso <dbueso@suse.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/tencent_B5D64530EB9C7DBB8D2C88A0C790F1489D0A@qq.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions