]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btf: Switch vmlinux BTF attribute to sysfs_bin_attr_simple_read()
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 28 Dec 2024 08:43:42 +0000 (09:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2025 09:44:06 +0000 (10:44 +0100)
commit42369b9a1ecf777ab2f6075747ecfb825db4552b
treefe0314efe267dfbc0c9eac51097276c5ca0cf42a
parent3675a926feefdf3afabea12f806f31ea582065e5
btf: Switch vmlinux BTF attribute to sysfs_bin_attr_simple_read()

The generic function from the sysfs core can replace the custom one.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20241228-sysfs-const-bin_attr-simple-v2-2-7c6f3f1767a3@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/bpf/sysfs_btf.c