]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/sysctl.h: inline braces for ctl_table and ctl_table_header
authorAlessio Balsini <balsini@android.com>
Thu, 5 Dec 2019 00:50:14 +0000 (16:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Dec 2019 03:44:11 +0000 (19:44 -0800)
commit7acedae3da996526954d41f4bb18658f132ee959
tree88495a5e6fe810fddf1abd426bcc0e988d032236
parent59e0a737b2b6d8b279a972f763b1ab7a797f2d06
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@android.com
Signed-off-by: Alessio Balsini <balsini@android.com>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sysctl.h