diff options
author | Matthew Maurer <mmaurer@google.com> | 2024-10-16 01:16:46 +0200 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2024-10-20 00:02:00 +0200 |
commit | 2295cf87ed5a6da4564034e4f8ebcce0a0a021ed (patch) | |
tree | a951bcd48afca9703e86c3dab3aebadac1eef0d2 /kernel/module | |
parent | module: Additional validation in elf_validity_cache_strtab (diff) | |
download | linux-2295cf87ed5a6da4564034e4f8ebcce0a0a021ed.tar.xz linux-2295cf87ed5a6da4564034e4f8ebcce0a0a021ed.zip |
module: Reformat struct for code style
Using commas to declare struct members makes adding new members to this
struct not as nice with patch management.
Test results linux-modules-kpd succeed [0].
Signed-off-by: Matthew Maurer <mmaurer@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
[mcgrof: add automated test results from kdevops using KPD ]
Link: https://github.com/linux-kdevops/linux-modules-kpd/actions/runs/11420095343 # [0]
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/module')
-rw-r--r-- | kernel/module/internal.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/module/internal.h b/kernel/module/internal.h index 2ebece8a789f..daef2be83902 100644 --- a/kernel/module/internal.h +++ b/kernel/module/internal.h @@ -80,7 +80,12 @@ struct load_info { unsigned int used_pages; #endif struct { - unsigned int sym, str, mod, vers, info, pcpu; + unsigned int sym; + unsigned int str; + unsigned int mod; + unsigned int vers; + unsigned int info; + unsigned int pcpu; } index; }; |