summaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-12-27 21:08:16 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-12-28 10:01:25 +0100
commitdbaff30940d6ef9bfa5f1f0c819cf3344ed3129f (patch)
tree16bea1eb47bf7e59fc917e03390fc3d263614ccc /mm/sparse.c
parentefbeec7098eee2b3d2359d0cc24bbba0436e7f21 (diff)
downloadop-kernel-dev-dbaff30940d6ef9bfa5f1f0c819cf3344ed3129f.zip
op-kernel-dev-dbaff30940d6ef9bfa5f1f0c819cf3344ed3129f.tar.gz
kvm: warn on more invariant breakage
Modifying a non-existent slot is not allowed. Also check that the first loop doesn't move a deleted slot beyond the used part of the mslots array. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud