diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-12-20 13:25:47 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-20 13:25:47 -0800 |
commit | 92999245102a09ab2645424a9c9a0a5b16fda833 (patch) | |
tree | 40e8e9008dc0f3a7b2eca992662d5266e13b28d8 /tools/lib/bpf/linker.c | |
parent | 32f24938a1fce95fce314c1fa9a72af74588ea6c (diff) | |
parent | 69ff403d87be4812571c54b1159e24998414bcab (diff) | |
download | linux-92999245102a09ab2645424a9c9a0a5b16fda833.tar.gz linux-92999245102a09ab2645424a9c9a0a5b16fda833.tar.bz2 linux-92999245102a09ab2645424a9c9a0a5b16fda833.zip |
Merge branch 'bpf-fix-warning-in-check_obj_size'
Hou Tao says:
====================
bpf: Fix warning in check_obj_size()
From: Hou Tao <houtao1@huawei.com>
Hi,
The patch set aims to fix the warning in check_obj_size() as reported by
lkp [1]. Patch #1 fixes the warning by selecting target cache for free
request through c->unit_size, so the unnecessary adjustment of
size_index and the checking in check_obj_size() can be removed. Patch #2
fixes the test failure in test_bpf_ma after applying patch #1.
Please see individual patches for more details. And comments are always
welcome.
[1]: https://lore.kernel.org/bpf/202310302113.9f8fe705-oliver.sang@intel.com/
====================
Link: https://lore.kernel.org/r/20231216131052.27621-1-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/linker.c')
0 files changed, 0 insertions, 0 deletions