aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2021-01-14 21:23:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-01-15 20:28:27 +0000
commitbe82fddca81eefd1edbd9b290dfcb2177e24785b (patch)
tree163a0aaa6764047278795f0665e94076e74f8624 /net/unix/af_unix.c
parentperf test: Fix shadow stat test for non-bash shells (diff)
downloadkernel-be82fddca81eefd1edbd9b290dfcb2177e24785b.tar.gz
kernel-be82fddca81eefd1edbd9b290dfcb2177e24785b.zip
libperf tests: Avoid uninitialized variable warning
The variable 'bf' is read (for a write call) without being initialized triggering a memory sanitizer warning. Use 'bf' in the read and switch the write to reading from a string. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Jiri Olsa <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions