]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - .clang-format
clang-format: Set IndentWrappedFunctionNames false
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Jun 2018 22:44:30 +0000 (16:44 -0600)
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Wed, 1 Aug 2018 16:38:51 +0000 (18:38 +0200)
commit7bee9bd21b404a2fa76c1a8e0ff68379aeef2b91
tree95add68ee213fd4be0c824d5e66f9230c6ec920b
parentacb1872577b346bd15ab3a3f8dff780d6cca4b70
clang-format: Set IndentWrappedFunctionNames false

The true option causes this indenting for functions:

static struct something_very_very_long *
    function(void *arg)
{

While a quick survey suggests that the usual Linux fallback is the GNU
style:

static struct something_very_very_long *
function(void *arg)
{

Eg as seen in:

kernel/cpu.c
kernel/fork.c
etc

Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
.clang-format