diff options
| author | Kees Cook <kees@kernel.org> | 2026-10-14 15:58:16 -0700 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-10-14 18:07:22 -0700 |
| commit | 56a1b1018838ce281eb47c74e0a118a210a804cf (patch) | |
| tree | e7b3b2ef931586e4123f41393c2615990daa6090 /scripts/basic/split-include.c | |
| parent | b1d7c3483c02d22f7b3070ea7299dd366d5b69d0 (diff) | |
| download | linux-next-56a1b1018838ce281eb47c74e0a118a210a804cf.tar.gz linux-next-56a1b1018838ce281eb47c74e0a118a210a804cf.zip | |
seq_file: Require explicit initialization of struct seq_operations
In the very unlikely chance that a seq_operations didn't get initialized,
we wouldn't want them calling some random location. As a first example
user of __require_explicit_initialization, annotate them so a missing
initializer is a compile-time warning.
Every seq_operations in the tree already sets all four, so no new warnings
are added.
Link: https://patch.msgid.link/20261014225818.3457479-2-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
