Re: [PATCH] lkdtm: Constify the crashtypes table

From: Greg Kroah-Hartman
Date: Fri Oct 20 2017 - 09:51:16 EST


On Fri, Oct 20, 2017 at 06:31:49AM -0700, Kees Cook wrote:
> Since nothing in the crashtypes table ever changes, mark it const. Adds
> some missing "static" markings as well.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> drivers/misc/lkdtm_core.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)

Hint, when you send patches that depend on the previous one, please
number them so I know to apply them in the correct order...

thanks,

greg k-h