[patch] KVM: PPC: fix a sanity check

Alexander Graf agraf at suse.de
Thu Jul 14 21:10:13 AEST 2016


On 07/14/2016 12:15 PM, Dan Carpenter wrote:
> 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 at oracle.com>

Oops :).

Reviewed-by: Alexander Graf <agraf at suse.de>


Alex



More information about the Linuxppc-dev mailing list