diff options
author | 2022-02-08 14:05:08 -0800 | |
---|---|---|
committer | 2022-02-08 14:52:05 -0800 | |
commit | 0f350231b5ac8867d552122b9ec88e8d7da00e8c (patch) | |
tree | 172978961732c65c32330224ca37c8ea19ee02ee /kernel/bpf/core.c | |
parent | libbpf: Fix signedness bug in btf_dump_array_data() (diff) | |
download | linux-rng-0f350231b5ac8867d552122b9ec88e8d7da00e8c.tar.xz linux-rng-0f350231b5ac8867d552122b9ec88e8d7da00e8c.zip |
bpf: Fix leftover header->pages in sparc and powerpc code.
Replace header->pages * PAGE_SIZE with new header->size.
Fixes: ed2d9e1a26cc ("bpf: Use size instead of pages in bpf_binary_header")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220208220509.4180389-2-song@kernel.org
Diffstat (limited to 'kernel/bpf/core.c')
0 files changed, 0 insertions, 0 deletions