From a7a174fdf6376e8880a51c93428daaade146c797 Mon Sep 17 00:00:00 2001 From: Ivan Koveshnikov Date: Fri, 30 Aug 2024 10:03:44 +0200 Subject: [PATCH] fix checkpacth complains --- src/kmod/rex.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/kmod/rex.c b/src/kmod/rex.c index d56acf438..2b6921fa9 100644 --- a/src/kmod/rex.c +++ b/src/kmod/rex.c @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ -/* SPDX-FileCopyrightText: Copyright 2022 G-Core Labs S.A. */ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +// SPDX-FileCopyrightText: Copyright 2022 G-Core Labs S.A. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt @@ -501,15 +501,13 @@ static const struct config_item_type rex_group_type = { }; static struct configfs_subsystem rex_configfs = { - .su_mutex = __MUTEX_INITIALIZER(rex_configfs.su_mutex), - .su_group = - { - .cg_item = - { - .ci_namebuf = "rex", - .ci_type = &rex_group_type, - }, - }, + .su_mutex = __MUTEX_INITIALIZER(rex_configfs.su_mutex), + .su_group = { + .cg_item = { + .ci_namebuf = "rex", + .ci_type = &rex_group_type, + }, + }, }; static void banner(void)