aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynqmp-fpga.c
diff options
context:
space:
mode:
authorNaveen N. Rao <[email protected]>2019-06-12 18:51:40 +0000
committerDaniel Borkmann <[email protected]>2019-06-13 21:07:00 +0000
commit758f2046ea040773ae8ea7f72dd3bbd8fa984501 (patch)
tree5bc7151508fe910ab38e5ec09a74545abfc63f3a /drivers/fpga/zynqmp-fpga.c
parentbpf: fix div64 overflow tests to properly detect errors (diff)
downloadkernel-758f2046ea040773ae8ea7f72dd3bbd8fa984501.tar.gz
kernel-758f2046ea040773ae8ea7f72dd3bbd8fa984501.zip
powerpc/bpf: use unsigned division instruction for 64-bit operations
BPF_ALU64 div/mod operations are currently using signed division, unlike BPF_ALU32 operations. Fix the same. DIV64 and MOD64 overflow tests pass with this fix. Fixes: 156d0e290e969c ("powerpc/ebpf/jit: Implement JIT compiler for extended BPF") Cc: [email protected] # v4.8+ Signed-off-by: Naveen N. Rao <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions