diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-14 13:15:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 19:03:39 +0300 |
commit | c9eb7cf7f1d5724c7124d09eaa8737c264bc13a1 (patch) | |
tree | b7989f4978919dfbd5287423c4ce673f2b568b2f /include | |
parent | ebc12d64e70139b9d5720914d62e5efba295d98f (diff) | |
download | linux-c9eb7cf7f1d5724c7124d09eaa8737c264bc13a1.tar.xz |
KVM: PPC: BookE: Fix a sanity check
commit ac0e89bb4744d3882ccd275f2416d9ce22f4e1e7 upstream.
We use logical negate where bitwise negate was intended. It means that
we never return -EINVAL here.
Fixes: ce11e48b7fdd ('KVM: PPC: E500: Add userspace debug stub support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions