summaryrefslogtreecommitdiff
path: root/arch/openrisc/mm
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-06-23 13:38:55 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-06-26 13:48:21 +0400
commit10c4d614d2ffcfc17add01f9648c3e530fb308d1 (patch)
tree13c0ca1332b969d85f472483ae16dce3471c4436 /arch/openrisc/mm
parent78b95b662c4c633206c997fe2bd25a9c680e047a (diff)
downloadlinux-10c4d614d2ffcfc17add01f9648c3e530fb308d1.tar.xz
MIPS: bpf: Fix is_range() semantics
is_range() was meant to check whether the number is within the s16 range or not. However the return values and consumers expected the exact opposite. We fix that by inverting the logic in the function to return 'true' for < s16 and 'false' for > s16. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Reported-by: Alexei Starovoitov <ast@plumgrid.com> Cc: David S. Miller <davem@davemloft.net> Cc: Daniel Borkmann <dborkman@redhat.com> Cc: Alexei Starovoitov <ast@plumgrid.com> Cc: netdev@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7131/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/openrisc/mm')
0 files changed, 0 insertions, 0 deletions