]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hangcheck-timer: fix coding style spacing
authorClint George <clintbgeorge@gmail.com>
Tue, 11 Nov 2025 15:13:40 +0000 (20:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 14:11:15 +0000 (15:11 +0100)
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>
drivers/char/hangcheck-timer.c

index ff141fdb437aa653eac17d3df58df6aaedc05cc3..231cbf7b300f199d6606bb0eb803fd7e2e6128a5 100644 (file)
@@ -69,7 +69,8 @@ MODULE_VERSION(VERSION_STR);
 static int __init hangcheck_parse_tick(char *str)
 {
        int par;
-       if (get_option(&str,&par))
+
+       if (get_option(&str, &par))
                hangcheck_tick = par;
        return 1;
 }
@@ -77,7 +78,8 @@ static int __init hangcheck_parse_tick(char *str)
 static int __init hangcheck_parse_margin(char *str)
 {
        int par;
-       if (get_option(&str,&par))
+
+       if (get_option(&str, &par))
                hangcheck_margin = par;
        return 1;
 }
@@ -85,7 +87,8 @@ static int __init hangcheck_parse_margin(char *str)
 static int __init hangcheck_parse_reboot(char *str)
 {
        int par;
-       if (get_option(&str,&par))
+
+       if (get_option(&str, &par))
                hangcheck_reboot = par;
        return 1;
 }
@@ -93,7 +96,8 @@ static int __init hangcheck_parse_reboot(char *str)
 static int __init hangcheck_parse_dump_tasks(char *str)
 {
        int par;
-       if (get_option(&str,&par))
+
+       if (get_option(&str, &par))
                hangcheck_dump_tasks = par;
        return 1;
 }
@@ -168,7 +172,7 @@ static int __init hangcheck_init(void)
 static void __exit hangcheck_exit(void)
 {
        timer_delete_sync(&hangcheck_ticktock);
-        pr_debug("Hangcheck: Stopped hangcheck timer.\n");
+       pr_debug("Hangcheck: Stopped hangcheck timer.\n");
 }
 
 module_init(hangcheck_init);