summaryrefslogtreecommitdiff
path: root/lib/kfifo.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-11-23 02:24:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-22 11:30:50 +0300
commit49b7e496928e5c5b8c2917a42d9d532a36028a14 (patch)
tree0f524f7abaa1f53969e8df6d50c4f35fc42edcb2 /lib/kfifo.c
parent8d0f56c2ed716d5db716893bda5e9250a9a7f2ee (diff)
downloadlinux-49b7e496928e5c5b8c2917a42d9d532a36028a14.tar.xz
KVM: downgrade two BUG_ONs to WARN_ON_ONCE
[ Upstream commit 5f25e71e311478f9bb0a8ef49e7d8b95316491d7 ] This is not an unrecoverable situation. Users of kvm_read_guest_offset_cached and kvm_write_guest_offset_cached must expect the read/write to fail, and therefore it is possible to just return early with an error value. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/kfifo.c')
0 files changed, 0 insertions, 0 deletions