[PATCH 1/2] KVM: PPC: Fix kvm_exit_names array

Alexander Graf agraf at suse.de
Tue Jul 9 04:39:40 EST 2013


On 03.07.2013, at 15:30, Mihai Caraman wrote:

> Some exit ids where left out from kvm_exit_names array.
> 
> Signed-off-by: Mihai Caraman <mihai.caraman at freescale.com>
> ---
> arch/powerpc/kvm/timing.c |    4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/powerpc/kvm/timing.c b/arch/powerpc/kvm/timing.c
> index 07b6110..c392d26 100644
> --- a/arch/powerpc/kvm/timing.c
> +++ b/arch/powerpc/kvm/timing.c
> @@ -135,7 +135,9 @@ static const char *kvm_exit_names[__NUMBER_OF_KVM_EXIT_TYPES] = {
> 	[USR_PR_INST] =             "USR_PR_INST",
> 	[FP_UNAVAIL] =              "FP_UNAVAIL",
> 	[DEBUG_EXITS] =             "DEBUG",
> -	[TIMEINGUEST] =             "TIMEINGUEST"
> +	[TIMEINGUEST] =             "TIMEINGUEST",
> +	[DBELL_EXITS] =             "DBELL",
> +	[GDBELL_EXITS] =            "GDBELL"

Please add a comma at the end here, so that we don't have to uselessly touch the entry next time again.


Alex



More information about the Linuxppc-dev mailing list