diff mbox series

mm: khugepaged - fix coding style

Message ID 1616398843-29244-1-git-send-email-yekai13@huawei.com (mailing list archive)
State New, archived
Headers show
Series mm: khugepaged - fix coding style | expand

Commit Message

yekai (A) March 22, 2021, 7:40 a.m. UTC
fix checkpatch warning: spaces required around that '+'.

Signed-off-by: Kai Ye <yekai13@huawei.com>
---
 mm/khugepaged.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mm/khugepaged.c b/mm/khugepaged.c
index 67ab391..f648c38 100644
--- a/mm/khugepaged.c
+++ b/mm/khugepaged.c
@@ -1236,7 +1236,7 @@  static int khugepaged_scan_pmd(struct mm_struct *mm,
 
 	memset(khugepaged_node_load, 0, sizeof(khugepaged_node_load));
 	pte = pte_offset_map_lock(mm, pmd, address, &ptl);
-	for (_address = address, _pte = pte; _pte < pte+HPAGE_PMD_NR;
+	for (_address = address, _pte = pte; _pte < pte + HPAGE_PMD_NR;
 	     _pte++, _address += PAGE_SIZE) {
 		pte_t pteval = *_pte;
 		if (is_swap_pte(pteval)) {