aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2015-05-29 14:44:06 +0100
committerWill Deacon <[email protected]>2015-07-27 15:28:54 +0100
commitdb26217e6f54647b137a0fe1f2ab346de67d6f3e (patch)
tree5c839d3429de197f511161be339bcdacb786d471 /lib/netdev-notifier-error-inject.c
parent6059a7b6e818023436a9058170a4fea1c670dc98 (diff)
arm64: atomic64_dec_if_positive: fix incorrect branch condition
If we attempt to atomic64_dec_if_positive on INT_MIN, we will underflow and incorrectly decide that the original parameter was positive. This patches fixes the broken condition code so that we handle this corner case correctly. Reviewed-by: Steve Capper <[email protected]> Acked-by: Catalin Marinas <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions