Re: [PATCH] sysctl: Inline braces for ctl_table and ctl_table_header

From: Luis Chamberlain
Date: Fri Oct 11 2019 - 09:56:49 EST


On Tue, Sep 03, 2019 at 04:49:06PM +0100, Alessio Balsini wrote:
> Fix coding style of "struct ctl_table" and "struct ctl_table_header" to
> have inline brances.
> Before:
>
> struct ctl_table
> {
> ...
>
> After:
>
> struct ctl_table {
> ...
>
> Besides the wide use of this proposed cose style, this change helps to
> find at a glance the struct definition when navigating the code.
>
> Signed-off-by: Alessio Balsini <balsini@xxxxxxxxxxx>
> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> Cc: Kees Cook <keescook@xxxxxxxxxxxx>

Acked-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>

Luis