]> www.infradead.org Git - users/willy/pagecache.git/commit
module: sysfs: Drop member 'module_sect_attr::address'
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 27 Dec 2024 13:23:21 +0000 (14:23 +0100)
committerPetr Pavlu <petr.pavlu@suse.com>
Sun, 26 Jan 2025 12:05:24 +0000 (13:05 +0100)
commit4b2c11e4aaf7e3d7fd9ce8e5995a32ff5e27d74f
tree3127d74a560fa37548343ec87dd760912cfead0e
parentd8959b947a8dfab1047c6fd5e982808f65717bfe
module: sysfs: Drop member 'module_sect_attr::address'

'struct bin_attribute' already contains the member 'private' to pass
custom data to the attribute handlers.
Use that instead of the custom 'address' member.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20241227-sysfs-const-bin_attr-module-v2-2-e267275f0f37@weissschuh.net
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
kernel/module/sysfs.c