diff options
author | Sean Christopherson <[email protected]> | 2023-07-28 17:47:20 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-08-31 13:48:48 -0400 |
commit | 3328dfe0eac38df388a0cded8e3f3cd307ca0be3 (patch) | |
tree | 491725a7bebd8137790997dd8dbcc0a027af037a /net/lapb/lapb_iface.c | |
parent | 870d4d4ed82779e717ec7fb0f9b64f43bd7a736b (diff) |
KVM: x86/mmu: Use BUILD_BUG_ON_INVALID() for KVM_MMU_WARN_ON() stub
Use BUILD_BUG_ON_INVALID() instead of an empty do-while loop to stub out
KVM_MMU_WARN_ON() when CONFIG_KVM_PROVE_MMU=n, that way _some_ build
issues with the usage of KVM_MMU_WARN_ON() will be dected even if the
kernel is using the stubs, e.g. basic syntax errors will be detected.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions