On 9/13/22 7:13 PM, Peilin Ye wrote:
From: Peilin Ye <peilin.ye@xxxxxxxxxxxxx> We have btf_type_str(). Use it whenever possible in btf.c, instead of "btf_kind_str[BTF_INFO_KIND(t->info)]". Signed-off-by: Peilin Ye <peilin.ye@xxxxxxxxxxxxx> --- kernel/bpf/btf.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index cad4657ba2ce..81dc7423d723 100644
This clean up makes sense. The patch cannot be applied though [0], so it is marked as 'Changes Requested'. Also, where is the cad4657ba2ce coming from? It can't be found in the bpf-next tree. Please rebase on the bpf-next and resend.
[0]: https://patchwork.kernel.org/project/netdevbpf/patch/20220914021328.17039-1-yepeilin.cs@xxxxxxxxx/