Arnaldo Carvalho de Melo
5eae7d8425
perf symbols: dso->name is an array, no need to check it against NULL
...
As it will always evaluate to 'true', as reported by clang:
util/map.c:390:36: error: address of array 'map->dso->name' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
if (map && map->dso && (map->dso->name || map->dso->long_name)) {
~~~~~~~~~~^~~~ ~~
util/map.c:393:22: error: address of array 'map->dso->name' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
else if (map->dso->name)
~~ ~~~~~~~~~~^~~~
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-x8cu007cly40kfp8xnpi9kya@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-02-13 17:22:35 -03:00
..
accounting
tools: move accounting tool from Documentation
2016-09-23 13:07:15 -06:00
arch
tools headers: Sync {tools/,}arch/powerpc/include/uapi/asm/kvm.h, {tools/,}arch/x86/include/asm/cpufeatures.h and {tools/,}arch/arm/include/uapi/asm/kvm.h
2017-01-30 16:01:20 -03:00
build
tools build: Add tools tree support for 'make -s'
2017-01-26 16:29:00 -03:00
cgroup
firewire
gpio
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
2016-12-17 16:24:13 -08:00
hv
Char/Misc driver patches for 4.10-rc1
2016-12-13 12:11:01 -08:00
iio
tools: iio: iio_generic_buffer: drop unneeded parentheses
2016-10-23 19:34:10 +01:00
include
tools include: Introduce linux/compiler-gcc.h
2017-02-13 14:29:29 -03:00
kvm /kvm_stat
tools: kvm_stat: Add comments
2016-05-25 16:12:06 +02:00
laptop
tools: move laptops dslm tool from Documentation
2016-09-23 13:07:21 -06:00
leds
tools/leds: Add uledmon program for monitoring userspace LEDs
2016-11-22 12:07:02 +01:00
lguest
tools/lguest: Don't bork the terminal in case of wrong args
2016-09-08 08:05:24 +02:00
lib
tools lib traceevent plugin function: Initialize 'index' variable
2017-02-13 17:22:33 -03:00
net
tools: bpf_jit_disasm: check for klogctl failure
2016-05-08 23:32:59 -04:00
nfsd
objtool
objtool: Fix IRET's opcode
2017-01-19 08:39:44 +01:00
pcmcia
tools: move pcmcia crc32hash tool from Documentation
2016-09-23 13:07:27 -06:00
perf
perf symbols: dso->name is an array, no need to check it against NULL
2017-02-13 17:22:35 -03:00
power
Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
2016-12-25 14:01:28 -08:00
scripts
tools build: Add tools tree support for 'make -s'
2017-01-26 16:29:00 -03:00
spi
spi: spidev_test: Fix input file check when transferring file
2016-11-04 09:56:09 -06:00
testing
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-01-27 12:54:16 -08:00
thermal /tmon
time
usb
usbip: add missing compile time generated files to .gitignore
2016-12-06 08:37:41 +01:00
virtio
tools/virtio/ringtest: tweaks for s390
2017-01-19 23:46:32 +02:00
vm
tools/vm/page_owner: increase temporary buffer size
2016-07-26 16:19:19 -07:00
Makefile
tools/leds: Add uledmon program for monitoring userspace LEDs
2016-11-22 12:07:02 +01:00