]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
lkdtm: Constify the crashtypes table
authorKees Cook <keescook@chromium.org>
Fri, 20 Oct 2017 13:31:49 +0000 (06:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 13:51:39 +0000 (15:51 +0200)
commit75f98b7ab748a6f604d667d84ec46acc452fdfc1
treebcb1967dc5814d69b682fb1d7d80be3646c875fa
parent31c5c870a1120960ec4157e6a5ea34686c77f6b8
lkdtm: Constify the crashtypes table

Since nothing in the crashtypes table ever changes, mark it const. Adds
some missing "static" markings as well.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/lkdtm_core.c