lib: test_objpool: make global variables static
authorwuqiang.matt <wuqiang.matt@bytedance.com>
Fri, 10 Nov 2023 10:59:04 +0000 (19:59 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 10 Nov 2023 10:59:04 +0000 (19:59 +0900)
commit3afe73372966d4d8b40922d7229c8ecb1c2ca287
tree1c9aee54577eb36df613b012792420e043fdbf26
parentb2a866975f6cd5859c746f1da39c8f5736c8def2
lib: test_objpool: make global variables static

Kernel test robot reported build warnings that structures g_ot_sync_ops,
g_ot_async_ops and g_testcases should be static. These definitions are
only used in test_objpool.c, so make them static

Link: https://lore.kernel.org/all/20231108012248.313574-1-wuqiang.matt@bytedance.com/
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311071229.WGrWUjM1-lkp@intel.com/

Signed-off-by: wuqiang.matt <wuqiang.matt@bytedance.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
lib/test_objpool.c