aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-04-10 23:32:26 +0000
committerLinus Torvalds <[email protected]>2018-04-11 17:28:34 +0000
commit47d4b263a2f7324fb3cb641ca00b2725dd12dea0 (patch)
tree3f6b15dcff528dffc236fee044f45b5b7c2a0b6b /lib/test_bitmap.c
parentproc: selftests: test /proc/uptime (diff)
downloadkernel-47d4b263a2f7324fb3cb641ca00b2725dd12dea0.tar.gz
kernel-47d4b263a2f7324fb3cb641ca00b2725dd12dea0.zip
taint: convert to indexed initialization
This converts to using indexed initializers instead of comments, adds a comment on why the taint flags can't be an enum, and make sure that no one forgets to update the taint_flags when adding new bits. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Al Viro <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions