The patch titled Subject: include/linux/sysctl.h: inline braces for ctl_table and ctl_table_header has been added to the -mm tree. Its filename is sysctl-inline-braces-for-ctl_table-and-ctl_table_header.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/sysctl-inline-braces-for-ctl_table-and-ctl_table_header.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/sysctl-inline-braces-for-ctl_table-and-ctl_table_header.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alessio Balsini <balsini@xxxxxxxxxxx> Subject: include/linux/sysctl.h: inline braces for ctl_table and ctl_table_header Fix coding style of "struct ctl_table" and "struct ctl_table_header" to have inline braces. Besides the wide use of this proposed cose style, this change helps to find at a glance the struct definition when navigating the code. Link: http://lkml.kernel.org/r/20190903154906.188651-1-balsini@xxxxxxxxxxx Signed-off-by: Alessio Balsini <balsini@xxxxxxxxxxx> Acked-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/sysctl.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- a/include/linux/sysctl.h~sysctl-inline-braces-for-ctl_table-and-ctl_table_header +++ a/include/linux/sysctl.h @@ -120,8 +120,7 @@ static inline void *proc_sys_poll_event( struct ctl_table_poll name = __CTL_TABLE_POLL_INITIALIZER(name) /* A sysctl table is an array of struct ctl_table: */ -struct ctl_table -{ +struct ctl_table { const char *procname; /* Text ID for /proc/sys, or zero */ void *data; int maxlen; @@ -140,8 +139,7 @@ struct ctl_node { /* struct ctl_table_header is used to maintain dynamic lists of struct ctl_table trees. */ -struct ctl_table_header -{ +struct ctl_table_header { union { struct { struct ctl_table *ctl_table; _ Patches currently in -mm which might be from balsini@xxxxxxxxxxx are sysctl-inline-braces-for-ctl_table-and-ctl_table_header.patch