]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Clean up coding style in binary stats test
authorSean Christopherson <seanjc@google.com>
Mon, 13 Jun 2022 21:25:17 +0000 (21:25 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 08:51:46 +0000 (04:51 -0400)
commitf7753cc47498adab4f3a45206b9cb66db17e9519
tree702c2414c109aff80c93cfe8c7afc19c36850d78
parent67275da6c6dff5b22a994f5c006f25cb7227876e
KVM: selftests: Clean up coding style in binary stats test

Fix a variety of code style violations and/or inconsistencies in the
binary stats test.  The 80 char limit is a soft limit and can and should
be ignored/violated if doing so improves the overall code readability.

Specifically, provide consistent indentation and don't split expressions
at arbitrary points just to honor the 80 char limit.

Opportunistically expand/add comments to call out the more subtle aspects
of the code.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20220613212523.3436117-5-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/kvm_binary_stats_test.c