]> git.ipfire.org Git - thirdparty/linux.git/commit
devcoredump: Define 'struct bin_attribute' through macro
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 14 Jan 2025 21:44:58 +0000 (22:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2025 17:30:57 +0000 (18:30 +0100)
commitbf1ad6c869fdf972ecd80097214aa3223ccd457c
tree72ce6fcdbe4dd8ff256320a93e4ee79cfb0056d0
parente3a89cc281b60fbd39fa6c1509e80001b77fd8c1
devcoredump: Define 'struct bin_attribute' through macro

The macro saves some lines of code and simplifies the constification of
the attribute.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250114-sysfs-const-bin_attr-devcoredump-v1-1-fa93be30efae@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devcoredump.c