Files
erofs-linux/arch/arc/net
Hardevsinh Palaniya 7dd9eb6ba8 ARC: bpf: Correct conditional check in 'check_jmp_32'
The original code checks 'if (ARC_CC_AL)', which is always true since
ARC_CC_AL is a constant. This makes the check redundant and likely
obscures the intention of verifying whether the jump is conditional.

Updates the code to check cond == ARC_CC_AL instead, reflecting the intent
to differentiate conditional from unconditional jumps.

Suggested-by: Vadim Fedorenko <[email protected]>
Reviewed-by: Vadim Fedorenko <[email protected]>
Acked-by: Shahab Vahedi <[email protected]>
Signed-off-by: Hardevsinh Palaniya <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
2024-12-10 10:12:56 -08:00
..
…
…