aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorSuren Baghdasaryan <[email protected]>2024-07-11 10:02:16 -0700
committerVlastimil Babka <[email protected]>2024-07-11 19:14:03 +0200
commit7b1fdf2ba4bc1434bb4c0077d7c9079a5a45df27 (patch)
tree83f54381a2dd4fb5424ff56a4c9e6950c1bbfdb5 /lib/netdev-notifier-error-inject.c
parent302a3ea38aec5ecee773aa4e5478aaa576919bb4 (diff)
mm, slab: move prepare_slab_obj_exts_hook under CONFIG_MEM_ALLOC_PROFILING
The only place prepare_slab_obj_exts_hook() is currently being used is from alloc_tagging_slab_alloc_hook() when CONFIG_MEM_ALLOC_PROFILING=y. Move its definition under CONFIG_MEM_ALLOC_PROFILING to prevent unused function warning for CONFIG_SLAB_OBJ_EXT=n case. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Suren Baghdasaryan <[email protected]> Cc: Vlastimil Babka <[email protected]> Reviewed-by: Xiongwei Song <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions