Skip to contentSkip to conversation

hugetlb: Fix the loss of exclamation point in comment

PATCH New Chen Huang 1 participant 1 message Apr 1, 2021

Subsystems (2)
lore
Share & tools
lore

Chen Huang

author
#0 lore raw

PATCH 1/1 hugetlb: Fix the loss of exclamation point in comment

In "else" and "endif" comment, it loses the exclamation point.

---
 include/linux/hugetlb.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/hugetlb.h +2 -2
index a7f7d5f328dc..c5fb0035c13a 100644
@@ -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)
Signature · 1 line
2.25.1