spapr: add missing break in h_get_cpu_characteristics()
commitfa86f59234919b479b7e8da6b0dc2dad894a5eac
authorGreg Kurz <groug@kaod.org>
Thu, 1 Feb 2018 19:47:41 +0000 (1 20:47 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 10 Feb 2018 01:17:17 +0000 (10 12:17 +1100)
treedc5b53d6fbd826fe7716cba2efe3f8d51ef047ec
parentc7b02d7d032d6022060e4b393827c963c93ce63f
spapr: add missing break in h_get_cpu_characteristics()

Detected by Coverity (CID 1385702). This fixes the recently added hypercall
to let guests properly apply Spectre and Meltdown workarounds.

Fixes: c59704b25473 "target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS"
Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_hcall.c