diff options
author | 2024-11-21 17:48:47 +0100 | |
---|---|---|
committer | 2025-01-07 16:59:15 +0100 | |
commit | 0f9e1f3a6e1e873bc70c7a47870a18c05647360e (patch) | |
tree | 585cc52d264d9e06e15f2aa1fa8822044156e2b5 /tools/perf/scripts/python/syscall-counts.py | |
parent | rust: driver: address soundness issue in `RegistrationOps` (diff) | |
download | wireguard-linux-0f9e1f3a6e1e873bc70c7a47870a18c05647360e.tar.xz wireguard-linux-0f9e1f3a6e1e873bc70c7a47870a18c05647360e.zip |
kernel/ksysfs.c: simplify bin_attribute definition
The notes attribute can be implemented in terms of BIN_ATTR_SIMPLE().
This saves memory at runtime and is a preparation for the constification
of struct bin_attribute.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241121-sysfs-const-bin_attr-ksysfs-v1-1-972faced149d@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions