Skip to contentSkip to conversation

mm: change_memory_common: add spaces for `*` operator

PATCH New Pan Zhang 1 participant 1 message Dec 17, 2019 arm64

lore
Share & tools
lore

Pan Zhang

author
#0 lore raw

PATCH 1/1 mm: change_memory_common: add spaces for `*` operator

Leaves one space before and after a binary operator both, it may be more elegant.

---
 arch/arm64/mm/pageattr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/mm/pageattr.c +1 -1
index 9ce7bd9..250c490 100644
@@ -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;
Signature · 1 line
2.7.4