Shuah Khan
cbbed1338d
selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
commit dd40f44eabe1e122c6852fabb298aac05b083fce upstream.
Fix the following [-Wstringop-overread] by passing in the variable
instead of the value.
test_vsyscall.c: In function ‘test_process_vm_readv’:
test_vsyscall.c:500:22: warning: ‘__builtin_memcmp_eq’ specified bound 4096 exceeds source size 0 [-Wstringop-overread]
500 | if (!memcmp(buf, (const void *)0xffffffffff600000, 4096)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Shuah Khan <[email protected]>
Cc: Naresh Kamboju <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
|
2022-01-11 15:23:31 +01:00 |
| .. |
|
accounting
|
|
|
|
arch
|
ia64: tools: remove duplicate definition of ia64_mf() on ia64
|
2021-04-28 13:19:16 +02:00 |
|
bpf
|
bpftool: Check malloc return value in mount_bpffs_for_pin
|
2021-07-28 13:30:55 +02:00 |
|
build
|
tools build: Remove needless libpython-version feature check that breaks test-all fast path
|
2021-12-14 14:49:03 +01:00 |
|
cgroup
|
|
|
|
debugging
|
|
|
|
firewire
|
|
|
|
firmware
|
|
|
|
gpio
|
tools: gpio-hammer: Avoid potential overflow in main
|
2020-10-01 13:17:47 +02:00 |
|
hv
|
|
|
|
iio
|
|
|
|
include
|
bpf: Fix a typo of reuseport map in bpf.h.
|
2021-09-15 09:47:30 +02:00 |
|
io_uring
|
tools/io_uring: fix compile breakage
|
2020-10-07 08:01:27 +02:00 |
|
kvm/kvm_stat
|
|
|
|
laptop
|
|
|
|
leds
|
|
|
|
lib
|
libbpf: Fix BTF data layout checks and allow empty BTF
|
2021-11-17 09:48:39 +01:00 |
|
memory-model
|
|
|
|
nfsd
|
|
|
|
objtool
|
objtool: Fix ".cold" section suffix check for newer versions of GCC
|
2021-03-04 10:26:30 +01:00 |
|
pci
|
|
|
|
pcmcia
|
|
|
|
perf
|
perf script: Fix CPU filtering of a script's switch events
|
2022-01-05 12:37:46 +01:00 |
|
power
|
tweewide: Fix most Shebang lines
|
2021-05-22 11:38:30 +02:00 |
|
scripts
|
tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
|
2021-07-31 08:19:37 +02:00 |
|
spi
|
|
|
|
testing
|
selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
|
2022-01-11 15:23:31 +01:00 |
|
thermal/tmon
|
tools/thermal/tmon: Add cross compiling support
|
2021-09-22 12:26:20 +02:00 |
|
time
|
|
|
|
usb
|
usb: testusb: Fix for showing the connection speed
|
2021-10-09 14:39:49 +02:00 |
|
virtio
|
|
|
|
vm
|
tools/vm/page-types: remove dependency on opt_file for idle page tracking
|
2021-10-09 14:39:50 +02:00 |
|
wmi
|
|
|
|
Makefile
|
|
|