diff options
| author | 2024-11-21 17:48:47 +0100 | |
|---|---|---|
| committer | 2025-01-07 16:59:15 +0100 | |
| commit | 0f9e1f3a6e1e873bc70c7a47870a18c05647360e (patch) | |
| tree | 585cc52d264d9e06e15f2aa1fa8822044156e2b5 /scripts/Makefile.thinlto | |
| parent | rust: driver: address soundness issue in `RegistrationOps` (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
