summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83l785ts.c
diff options
context:
space:
mode:
authorBo YU <tsu.yubo@gmail.com>2018-10-03 16:02:50 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-10-04 16:31:57 +0200
commit20cdeb5408da5149c39d577c91ad6f33c73d1b05 (patch)
tree0495790f5fb024adec1038a4fca0150b10bf9dd5 /drivers/hwmon/w83l785ts.c
parentMerge branch 'bpf-libbpf-consistent-iface' (diff)
downloadlinux-20cdeb5408da5149c39d577c91ad6f33c73d1b05.tar.xz
linux-20cdeb5408da5149c39d577c91ad6f33c73d1b05.zip
bpf, tracex3_user: erase "ARRAY_SIZE" redefined
There is a warning when compiling bpf sample programs in sample/bpf: make -C /home/foo/bpf/samples/bpf/../../tools/lib/bpf/ RM='rm -rf' LDFLAGS= srctree=/home/foo/bpf/samples/bpf/../../ O= HOSTCC /home/foo/bpf/samples/bpf/tracex3_user.o /home/foo/bpf/samples/bpf/tracex3_user.c:20:0: warning: "ARRAY_SIZE" redefined #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) In file included from /home/foo/bpf/samples/bpf/tracex3_user.c:18:0: ./tools/testing/selftests/bpf/bpf_util.h:48:0: note: this is the location of the previous definition # define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) Signed-off-by: Bo YU <tsu.yubo@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/hwmon/w83l785ts.c')
0 files changed, 0 insertions, 0 deletions