diff options
| author | David Matlack <[email protected]> | 2022-09-29 11:12:05 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-09-30 06:39:35 -0400 |
| commit | 62ece2c5a95cc989648c39155173d3bae27e89a3 (patch) | |
| tree | ce08c23b4c9b228ac84f8b448c16baab246f353a /tools/testing/selftests/kvm/lib/kvm_util.c | |
| parent | c96409d1e58905bfc8c73b630481228382ab8846 (diff) | |
KVM: selftests: Tell the compiler that code after TEST_FAIL() is unreachable
Add __builtin_unreachable() to TEST_FAIL() so that the compiler knows
that any code after a TEST_FAIL() is unreachable.
Signed-off-by: David Matlack <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions