diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-10 11:23:22 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-25 12:57:59 -0400 |
commit | 0b139b877b1462ccdecb5146493c68a0b94ccdc8 (patch) | |
tree | ebc4fbc8d92e9e30378e496095cd6c0855edbb66 /scripts/lib/kdoc/kdoc_files.py | |
parent | c0461f20630b457f7fdb80ec8bb03156f2d6fc84 (diff) |
KVM: Remove pointless sanity check on @map param to kvm_vcpu_(un)map()
Drop kvm_vcpu_{,un}map()'s useless checks on @map being non-NULL. The map
is 100% kernel controlled, any caller that passes a NULL pointer is broken
and needs to be fixed, i.e. a crash due to a NULL pointer dereference is
desirable (though obviously not as desirable as not having a bug in the
first place).
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-21-seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions