projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada1f3c
)
target/i386: Fix typo that assign same value twice
author
Anthony Harivel
<aharivel@redhat.com>
Fri, 26 Jul 2024 10:26:31 +0000
(12:26 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 31 Jul 2024 11:13:31 +0000
(13:13 +0200)
Should fix: CID
1558553
Signed-off-by: Anthony Harivel <aharivel@redhat.com>
Link:
https://lore.kernel.org/r/20240726102632.1324432-2-aharivel@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm/kvm.c
patch
|
blob
|
history
diff --git
a/target/i386/kvm/kvm.c
b/target/i386/kvm/kvm.c
index b4aab9a410b591a985edf8e000780f26b2a55587..31f149c9902c743a8b576494b87721ef5f58a66b 100644
(file)
--- a/
target/i386/kvm/kvm.c
+++ b/
target/i386/kvm/kvm.c
@@
-2694,8
+2694,8
@@
static void *kvm_msr_energy_thread(void *data)
while (true) {
/* Get all qemu threads id */
- g_autofree pid_t *thread_ids
=
-
thread_ids
= vmsr_get_thread_ids(vmsr->pid, &num_threads);
+ g_autofree pid_t *thread_ids
+ = vmsr_get_thread_ids(vmsr->pid, &num_threads);
if (thread_ids == NULL) {
goto clean;