diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2023-07-11 15:35:33 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-07-14 09:57:21 +0200 |
commit | 1662b6c2bb7e7502d6ae4b6aca4116e844a4277c (patch) | |
tree | 0836c07cc5a21dd504612e1d50cd413de0dc15e9 /mm/kfence/kfence_test.c | |
parent | b06952cdbc7f01a761eb95e8b899633f4ae9334e (diff) | |
download | linux-stable-1662b6c2bb7e7502d6ae4b6aca4116e844a4277c.tar.gz linux-stable-1662b6c2bb7e7502d6ae4b6aca4116e844a4277c.tar.bz2 linux-stable-1662b6c2bb7e7502d6ae4b6aca4116e844a4277c.zip |
mm/slub: remove freelist_dereference()
freelist_dereference() is a one-liner only used from get_freepointer().
Remove it and make get_freepointer() call freelist_ptr_decode()
directly to make the code easier to follow.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'mm/kfence/kfence_test.c')
0 files changed, 0 insertions, 0 deletions