Skip to content
Commit 0f350231 authored by Song Liu's avatar Song Liu Committed by Alexei Starovoitov
Browse files

bpf: Fix leftover header->pages in sparc and powerpc code.



Replace header->pages * PAGE_SIZE with new header->size.

Fixes: ed2d9e1a ("bpf: Use size instead of pages in bpf_binary_header")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220208220509.4180389-2-song@kernel.org
parent 4172843e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment