aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDavid Matlack <[email protected]>2024-06-11 15:05:11 -0700
committerSean Christopherson <[email protected]>2024-06-14 09:24:23 -0700
commit3d4a5a45ca26f8de9e0a4f384a2fb0967b8566b5 (patch)
treea37bc31c782cd4863196d7c397870579825387b8 /lib/test_fortify/write_overflow-strncpy-src.c
parente1c04f7a9f4213c56af5021b40bc00f527bffbae (diff)
KVM: x86/mmu: Unnest TDP MMU helpers that allocate SPs for eager splitting
Move the implementation of tdp_mmu_alloc_sp_for_split() to its one and only caller to reduce unnecessary nesting and make it more clear why the eager split loop continues after allocating a new SP. Opportunistically drop the double-underscores from __tdp_mmu_alloc_sp_for_split() now that its parent is gone. No functional change intended. Suggested-by: Sean Christopherson <[email protected]> Signed-off-by: David Matlack <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions