Re: [PATCH 4/4] btf: Switch module BTF attribute to sysfs_bin_attr_simple_read()

2024-12-09 Thread Andrii Nakryiko
On Thu, Dec 5, 2024 at 9:35 AM Thomas Weißschuh wrote: > > The generic function from the sysfs core can replace the custom one. > > Signed-off-by: Thomas Weißschuh > --- > kernel/bpf/btf.c | 15 ++- > 1 file changed, 2 insertions(+), 13 deletions(-) > LGTM Acked-by: Andrii Nakryiko

[PATCH 4/4] btf: Switch module BTF attribute to sysfs_bin_attr_simple_read()

2024-12-05 Thread Thomas Weißschuh
The generic function from the sysfs core can replace the custom one. Signed-off-by: Thomas Weißschuh --- kernel/bpf/btf.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index e7a59e6462a9331d0acb17a88a4ebf641509c050..69ca