Re: [PATCH] riscv, bpf: Use STACK_ALIGN macro for size rounding up

From: Pu Lehui
Date: Wed May 22 2024 - 21:43:10 EST



On 2024/5/22 13:45, Xiao Wang wrote:
Use the macro STACK_ALIGN that is defined in asm/processor.h for stack size
rounding up, just like bpf_jit_comp32.c does.

Signed-off-by: Xiao Wang <xiao.w.wang@xxxxxxxxx>
---
arch/riscv/net/bpf_jit_comp64.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

It met a patching conflict. I think you should target for the bpf-next tree.
https://github.com/kernel-patches/bpf/pull/7080