summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2023-08-21 15:44:46 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2023-08-21 15:44:46 +1000
commit70c6bef04cea1af664fe76bbabbb38d77282f0b9 (patch)
treea665e798ef8b63d51ca31654761e3e64b03195bd
parentfe0b1a71e5ffa4a0d1a842dd5c7d2860d82d0f72 (diff)
parent246c713a3655c840337c4b24d3838558673c0d6b (diff)
downloadlinux-70c6bef04cea1af664fe76bbabbb38d77282f0b9.tar.gz
linux-70c6bef04cea1af664fe76bbabbb38d77282f0b9.tar.xz
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git
-rw-r--r--security/landlock/ruleset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/landlock/ruleset.h b/security/landlock/ruleset.h
index d43231b783e4..55b1df8f66a8 100644
--- a/security/landlock/ruleset.h
+++ b/security/landlock/ruleset.h
@@ -67,7 +67,7 @@ struct landlock_rule {
* @layers: Stack of layers, from the latest to the newest, implemented
* as a flexible array member (FAM).
*/
- struct landlock_layer layers[];
+ struct landlock_layer layers[] __counted_by(num_layers);
};
/**