Skip to content

Commit cbe1d77

Browse files
iamclintgeorgegregkh
authored andcommitted
hangcheck-timer: fix coding style spacing
Fix minor styling issues for proper compliance to the kernel coding style. Signed-off-by: Clint George <clintbgeorge@gmail.com> Link: https://patch.msgid.link/20251111151340.9162-4-clintbgeorge@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e03a2f7 commit cbe1d77

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

drivers/char/hangcheck-timer.c

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,31 +69,35 @@ MODULE_VERSION(VERSION_STR);
6969
static int __init hangcheck_parse_tick(char *str)
7070
{
7171
int par;
72-
if (get_option(&str,&par))
72+
73+
if (get_option(&str, &par))
7374
hangcheck_tick = par;
7475
return 1;
7576
}
7677

7778
static int __init hangcheck_parse_margin(char *str)
7879
{
7980
int par;
80-
if (get_option(&str,&par))
81+
82+
if (get_option(&str, &par))
8183
hangcheck_margin = par;
8284
return 1;
8385
}
8486

8587
static int __init hangcheck_parse_reboot(char *str)
8688
{
8789
int par;
88-
if (get_option(&str,&par))
90+
91+
if (get_option(&str, &par))
8992
hangcheck_reboot = par;
9093
return 1;
9194
}
9295

9396
static int __init hangcheck_parse_dump_tasks(char *str)
9497
{
9598
int par;
96-
if (get_option(&str,&par))
99+
100+
if (get_option(&str, &par))
97101
hangcheck_dump_tasks = par;
98102
return 1;
99103
}
@@ -168,7 +172,7 @@ static int __init hangcheck_init(void)
168172
static void __exit hangcheck_exit(void)
169173
{
170174
timer_delete_sync(&hangcheck_ticktock);
171-
pr_debug("Hangcheck: Stopped hangcheck timer.\n");
175+
pr_debug("Hangcheck: Stopped hangcheck timer.\n");
172176
}
173177

174178
module_init(hangcheck_init);

0 commit comments

Comments
 (0)