Skip to content

Commit 2295cf8

Browse files
maurermcgrof
authored andcommitted
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 <[email protected]> Reviewed-by: Sami Tolvanen <[email protected]> [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 <[email protected]>
1 parent d979e3d commit 2295cf8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

kernel/module/internal.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ struct load_info {
8080
unsigned int used_pages;
8181
#endif
8282
struct {
83-
unsigned int sym, str, mod, vers, info, pcpu;
83+
unsigned int sym;
84+
unsigned int str;
85+
unsigned int mod;
86+
unsigned int vers;
87+
unsigned int info;
88+
unsigned int pcpu;
8489
} index;
8590
};
8691

0 commit comments

Comments
 (0)