aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/net/bpf_jit_comp.c
diff options
context:
space:
mode:
authorFrederic Barrat <[email protected]>2018-02-16 14:01:18 +0100
committerMichael Ellerman <[email protected]>2018-02-21 11:21:01 +1100
commit423688abd9ab654044bddd82eb5983189eb9630d (patch)
tree02a48b03af86049be78b3ef41a7737a8ed1e3493 /arch/powerpc/net/bpf_jit_comp.c
parent521ca5a9859a870e354d1a6b84a6ff4c07bbceb0 (diff)
ocxl: Fix potential bad errno on irq allocation
Fix some issues found by a static checker: When allocating an AFU interrupt, if the driver cannot copy the output parameters to userland, the errno value was not set to EFAULT Remove a (now) useless cast. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Frederic Barrat <[email protected]> Acked-by: Andrew Donnellan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions