summaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2022-07-20 12:22:47 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-08-10 22:08:27 +0300
commitf2759c08d8f4d584e88d129e7392260fb4079ec2 (patch)
tree4ceeee05dada3fc6cc13a6dc2a436b8d41096de6 /drivers/uio
parent8bad4606acc91523f54fe4f254fd9f187cd21204 (diff)
downloadlinux-f2759c08d8f4d584e88d129e7392260fb4079ec2.tar.xz
KVM: Shove vm stats_id init into kvm_create_vm()
Initialize stats_id alongside other struct kvm fields to make it more difficult to unintentionally access stats_id before it's set. While at it, move the format string to the first line of the call and fix the indentation of the second line. No functional change intended. Signed-off-by: Oliver Upton <oupton@google.com> Message-Id: <20220720092259.3491733-2-oliver.upton@linux.dev> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions