diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2025-09-15 16:55:11 +0300 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2025-09-15 17:10:10 +0300 |
commit | 40522db59b5bd36dd63d215bfb7fa83d64bce05a (patch) | |
tree | 80ed08436f491bc317f7e1bd45c29d3eaa77bae1 /drivers/cdx/controller/mcdi_functions.c | |
parent | 6f6fcd463410445101fae04335f617f40e6eca8a (diff) | |
download | linux-40522db59b5bd36dd63d215bfb7fa83d64bce05a.tar.xz |
slab: move validate_slab_ptr() from alloc_consistency_checks() to its caller
In alloc_debug_processing() we can call validate_slab_ptr() upfront and
then don't need to recheck when alloc_consistency_checks() fails for
other reasons.
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions