Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf symbols: Fix type error when reading a build-id

This was benign, but wrong. The build-id should live in a char[], not a char*[]

Signed-off-by: Dima Kogan <dima@secretsauce.net>
Link: http://lkml.kernel.org/r/87si6pfwz4.fsf@secretsauce.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Dima Kogan and committed by
Arnaldo Carvalho de Melo
f2f30968 f4efcce3

+1 -1
+1 -1
tools/perf/util/symbol-minimal.c
··· 337 337 symbol_filter_t filter __maybe_unused, 338 338 int kmodule __maybe_unused) 339 339 { 340 - unsigned char *build_id[BUILD_ID_SIZE]; 340 + unsigned char build_id[BUILD_ID_SIZE]; 341 341 int ret; 342 342 343 343 ret = fd__is_64_bit(ss->fd);