OSDN Git Service

x86/mtrr: Convert comma to semicolon
authorZheng Yongjun <zhengyongjun3@huawei.com>
Wed, 16 Dec 2020 13:11:59 +0000 (21:11 +0800)
committerBorislav Petkov <bp@suse.de>
Wed, 30 Dec 2020 07:56:35 +0000 (08:56 +0100)
Replace a comma between expression statements with a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201216131159.14393-1-zhengyongjun3@huawei.com
arch/x86/kernel/cpu/mtrr/cleanup.c

index 5bd0117..9231640 100644 (file)
@@ -537,9 +537,9 @@ static void __init print_out_mtrr_range_state(void)
                if (!size_base)
                        continue;
 
-               size_base = to_size_factor(size_base, &size_factor),
+               size_base = to_size_factor(size_base, &size_factor);
                start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10);
-               start_base = to_size_factor(start_base, &start_factor),
+               start_base = to_size_factor(start_base, &start_factor);
                type = range_state[i].type;
 
                pr_debug("reg %d, base: %ld%cB, range: %ld%cB, type %s\n",