[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250827031316.11293-1-viswanathiyyappan@gmail.com>
Date: Wed, 27 Aug 2025 08:43:16 +0530
From: I Viswanath <viswanathiyyappan@...il.com>
To: dot@...at.at
Cc: linux-kernel@...r.kernel.org,
skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev,
I Viswanath <viswanathiyyappan@...il.com>
Subject: [PATCH] scripts: Add missing break statement in the switch in unifdef.c
Add missing break statement in the case 'V' of the switch in
unifdef.c
Signed-off-by: I Viswanath <viswanathiyyappan@...il.com>
---
The current code works only because version() calls exit(0) once
it finishes printing
scripts/unifdef.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/unifdef.c b/scripts/unifdef.c
index ff15efd6e7d7..465246fa7fd5 100644
--- a/scripts/unifdef.c
+++ b/scripts/unifdef.c
@@ -305,6 +305,7 @@ main(int argc, char *argv[])
break;
case 'V': /* print version */
version();
+ break;
default:
usage();
}
--
2.50.1
Powered by blists - more mailing lists