Re: [PATCH 2/2] const_structs.checkpatch: Add frequently used from Julia Lawall's list

From: Kees Cook
Date: Wed Aug 31 2016 - 18:41:17 EST


On Wed, Aug 31, 2016 at 1:27 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> Using const is generally a good idea.
>
> Julia Lawall has created a list of always const and almost always const
> structs in the kernel sources.
>
> Link: https://lkml.org/lkml/2016/8/28/95
>
> Add the most frequently used (> 50 cases) that are almost always or
> always const.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> cc: Julia Lawall <julia.lawall@xxxxxxx>
> cc: Kees Cook <keescook@xxxxxxxxxxxx>

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook
Nexus Security