diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-04 12:24:00 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-01-23 20:01:25 +0100 |
commit | 11413893a0d0b19df976eb9a2b600ba56802db2f (patch) | |
tree | 6376b355cf559ff0d74e8b6463684b4ad04645f5 /kernel/exit.c | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
download | linux-stable-11413893a0d0b19df976eb9a2b600ba56802db2f.tar.gz linux-stable-11413893a0d0b19df976eb9a2b600ba56802db2f.tar.bz2 linux-stable-11413893a0d0b19df976eb9a2b600ba56802db2f.zip |
EDAC: Use proper list of struct attribute for attributes
The EDAC sysfs code is doing some crazy casting of the list of
attributes that is not necessary at all. Instead, properly point to the
correct attribute structure in the lists, which removes the need to
cast anything and the code is now properly typesafe (as much as sysfs
attribute logic is typesafe...)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220104112401.1067148-1-gregkh@linuxfoundation.org
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions