]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lkdtm: use struct arrays instead of enums
authorKees Cook <keescook@chromium.org>
Wed, 29 Jun 2016 15:18:27 +0000 (08:18 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 7 Jul 2016 18:09:27 +0000 (11:09 -0700)
commitc479e3fd88703c4b1049d7102a3fa8c6b3affef5
tree06dbd8a9379b925dc13ce9993d78f51554f9dbda
parentf2c6edc1ed0674b196080cfc3f66bc130e4d7c18
lkdtm: use struct arrays instead of enums

This removes the use of enums in favor of much more readable and compact
structure arrays. This requires changing all the enum passing to pointers
instead, but the results are much cleaner.

Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm_core.c