From: Chen Huang <chenhuang5@huawei.com>
To: Mike Kravetz <mike.kravetz@oracle.com>
Cc: <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>,
Chen Huang <chenhuang5@huawei.com>
Subject: [PATCH -next] hugetlb: Fix the loss of exclamation point in comment
Date: Thu, 1 Apr 2021 11:18:15 +0000 [thread overview]
Message-ID: <20210401111815.997878-1-chenhuang5@huawei.com> (raw)
In "else" and "endif" comment, it loses the exclamation point.
Signed-off-by: Chen Huang <chenhuang5@huawei.com>
---
include/linux/hugetlb.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h
index a7f7d5f328dc..c5fb0035c13a 100644
--- a/include/linux/hugetlb.h
+++ b/include/linux/hugetlb.h
@@ -873,7 +873,7 @@ static inline void huge_ptep_modify_prot_commit(struct vm_area_struct *vma,
}
#endif
-#else /* CONFIG_HUGETLB_PAGE */
+#else /* !CONFIG_HUGETLB_PAGE */
struct hstate {};
static inline struct page *alloc_huge_page(struct vm_area_struct *vma,
@@ -1026,7 +1026,7 @@ static inline void set_huge_swap_pte_at(struct mm_struct *mm, unsigned long addr
pte_t *ptep, pte_t pte, unsigned long sz)
{
}
-#endif /* CONFIG_HUGETLB_PAGE */
+#endif /* !CONFIG_HUGETLB_PAGE */
static inline spinlock_t *huge_pte_lock(struct hstate *h,
struct mm_struct *mm, pte_t *pte)
--
2.25.1
reply other threads:[~2021-04-01 11:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210401111815.997878-1-chenhuang5@huawei.com \
--to=chenhuang5@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mike.kravetz@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox