diff options
author | Meng Shao Liu <sau525@gmail.com> | 2025-07-16 14:46:29 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-16 13:32:53 +0200 |
commit | f751fe2a2acbe8cc20da35f118f589ac3b316b78 (patch) | |
tree | 5026e93edca04d74cfa36eabf9b5be55497a6606 /rust/kernel/task.rs | |
parent | 42573e4df8e2318fce6a711e0f9cafc9e3dc1483 (diff) |
samples/kobject: make attribute_group const
The attr_group structures are allocated once and never modified at
runtime. Also to match the const‑qualified parameter of
sysfs_create_group().
Signed-off-by: Meng Shao Liu <sau525@gmail.com>
Link: https://lore.kernel.org/r/dc94227eaf337a2b92ab77dffa0da9f7f1f84c4e.1752646650.git.sau525@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions