bpf: change bpf_alu_sign_string and bpf_movsx_string to static
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 3 Aug 2023 02:31:28 +0000 (10:31 +0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Fri, 4 Aug 2023 23:15:50 +0000 (16:15 -0700)
commit1e8e2efb34023c5113ec679eae3c59ae2cd57b13
tree77f55f7d480cb7137f8fca8ca90d58d30b63bfe3
parentdde3979bb3451c820b540151f5903bfd2e814f60
bpf: change bpf_alu_sign_string and bpf_movsx_string to static

The bpf_alu_sign_string and bpf_movsx_string introduced in commit
f835bb622299 ("bpf: Add kernel/bpftool asm support for new instructions")
are only used in disasm.c now, change them to static.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308050615.wxAn1v2J-lkp@intel.com/
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230803023128.3753323-1-yangyingliang@huawei.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
kernel/bpf/disasm.c