summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Chujun <zhangchujun@cmss.chinamobile.com>2025-11-03 14:59:09 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-11-16 17:28:29 -0800
commit77a7cfd96c17f2414a8319c28a12ff69b36e626a (patch)
tree2a373df8b9a7f2049a445fbfe91d6fdf12ed2910
parent05c3fa9c9fa636b4e5856b0d86c3f194bbc804e4 (diff)
mm/debug: fix missing space in case statement
In setup_vm_debug() , the case statement for 'p' option is written as 'case'p':' without a space between 'case' and the character constant. While this is syntactically valid C, it violates the Linux kernel coding style, which requires a space after 'case'. This patch adds the missing space to comply with coding standards. Link: https://lkml.kernel.org/r/20251103065910.2196-1-zhangchujun@cmss.chinamobile.com Signed-off-by: Zhang Chujun <zhangchujun@cmss.chinamobile.com> Reviewed-by: Dev Jain <dev.jain@arm.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--mm/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/debug.c b/mm/debug.c
index 64ddb0c4b4be..d860864063be 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -327,7 +327,7 @@ static int __init setup_vm_debug(char *str)
while (*str) {
switch (tolower(*str)) {
- case'p':
+ case 'p':
__page_init_poisoning = true;
break;
default: