summaryrefslogtreecommitdiffstats
path: root/tools/gpio
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2021-01-14 13:23:04 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-01-15 17:28:27 -0300
commitbe82fddca81eefd1edbd9b290dfcb2177e24785b (patch)
tree163a0aaa6764047278795f0665e94076e74f8624 /tools/gpio
parenta042a82ddbb3434f523c0671f5301d1fe796b4eb (diff)
downloadlinux-be82fddca81eefd1edbd9b290dfcb2177e24785b.tar.bz2
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 <irogers@google.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lore.kernel.org/lkml/20210114212304.4018119-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/gpio')
0 files changed, 0 insertions, 0 deletions