aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-06-29 17:24:31 +0000
committerJoel Granados <[email protected]>2024-10-10 19:01:17 +0000
commit8e666244c98a246f25172cd25aa91ee44d0e6230 (patch)
tree9e41c63990c4e53900bdbd4b84b8ac7d6f9479e4 /rust/helpers/build_assert.c
parentconst_structs.checkpatch: add ctl_table (diff)
downloadkernel-8e666244c98a246f25172cd25aa91ee44d0e6230.tar.gz
kernel-8e666244c98a246f25172cd25aa91ee44d0e6230.zip
sysctl: Convert locking comments to lockdep assertions
The assertions work as well as the comment to inform developers about locking expectations. Additionally they are validated by lockdep at runtime, making sure the expectations are met. Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions