Re: [PATCH] kvm: Make init_rmode_tss() return 0 on success.

From: Paolo Bonzini
Date: Mon Sep 22 2014 - 05:17:44 EST


Il 20/09/2014 01:44, Radim KrÄmÃÅ ha scritto:
>> > This patch removes the redundant variable, by making init_rmode_tss()
>> > return 0 on success, -errno on failure.
> Which is going to propagate all the way to userpace through ioctl ...
> is this change of A[PB]I acceptable?
>
> Otherwise, -EFAULT seems to match unlikely problems better than -ENOMEM,
> so if it is acceptable: Reviewed-by: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>

Yes, I think it is a bugfix.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/