diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-02-27 06:17:26 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-03-02 11:30:59 +0100 |
commit | 42a382a466a967dc053c73b969cd2ac2fec502cf (patch) | |
tree | 2b5bad975cf827ebda04d4b3202a4580999e90c6 /include/drm/drm_framebuffer.h | |
parent | tcp: add sanity tests to TCP_QUEUE_SEQ (diff) | |
download | linux-42a382a466a967dc053c73b969cd2ac2fec502cf.tar.xz linux-42a382a466a967dc053c73b969cd2ac2fec502cf.zip |
selftests/bpf: Use the last page in test_snprintf_btf on s390
test_snprintf_btf fails on s390, because NULL points to a readable
struct lowcore there. Fix by using the last page instead.
Error message example:
printing fffffffffffff000 should generate error, got (361)
Fixes: 076a95f5aff2 ("selftests/bpf: Add bpf_snprintf_btf helper tests")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210227051726.121256-1-iii@linux.ibm.com
Diffstat (limited to 'include/drm/drm_framebuffer.h')
0 files changed, 0 insertions, 0 deletions