OSDN Git Service

mm: change_memory_common: add spaces for `*` operator
authorPan Zhang <zhangpan26@huawei.com>
Tue, 17 Dec 2019 13:34:04 +0000 (21:34 +0800)
committerWill Deacon <will@kernel.org>
Wed, 8 Jan 2020 17:30:33 +0000 (17:30 +0000)
Leaves one space before and after a binary operator both, it may be more elegant.

Signed-off-by: Pan Zhang <zhangpan26@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/pageattr.c

index 9ce7bd9..250c490 100644 (file)
@@ -54,7 +54,7 @@ static int change_memory_common(unsigned long addr, int numpages,
                                pgprot_t set_mask, pgprot_t clear_mask)
 {
        unsigned long start = addr;
-       unsigned long size = PAGE_SIZE*numpages;
+       unsigned long size = PAGE_SIZE * numpages;
        unsigned long end = start + size;
        struct vm_struct *area;
        int i;