mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Andrew Morton
parent
05c3fa9c9f
commit
77a7cfd96c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user