OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e410ef
)
mm: change_memory_common: add spaces for `*` operator
author
Pan Zhang
<zhangpan26@huawei.com>
Tue, 17 Dec 2019 13:34:04 +0000
(21:34 +0800)
committer
Will 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
patch
|
blob
|
history
diff --git
a/arch/arm64/mm/pageattr.c
b/arch/arm64/mm/pageattr.c
index
9ce7bd9
..
250c490
100644
(file)
--- a/
arch/arm64/mm/pageattr.c
+++ b/
arch/arm64/mm/pageattr.c
@@
-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;