[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1616398843-29244-1-git-send-email-yekai13@huawei.com>
Date: Mon, 22 Mar 2021 15:40:43 +0800
From: Kai Ye <yekai13@...wei.com>
To: <akpm@...ux-foundation.org>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] mm: khugepaged - fix coding style
fix checkpatch warning: spaces required around that '+'.
Signed-off-by: Kai Ye <yekai13@...wei.com>
---
mm/khugepaged.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)) {
--
2.8.1
Powered by blists - more mailing lists