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: Nkernel test robot <lkp@intel.com> Signed-off-by: NSong Liu <song@kernel.org> Signed-off-by: NAlexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220208220509.4180389-2-song@kernel.org
Showing
想要评论请 注册 或 登录