From patchwork Thu Apr 1 11:18:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Huang X-Patchwork-Id: 12177845 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B80BC433B4 for ; Thu, 1 Apr 2021 11:10:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9C8E161057 for ; Thu, 1 Apr 2021 11:10:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C8E161057 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id AF6E46B0080; Thu, 1 Apr 2021 07:10:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AA6816B0081; Thu, 1 Apr 2021 07:10:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 96F256B0082; Thu, 1 Apr 2021 07:10:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0154.hostedemail.com [216.40.44.154]) by kanga.kvack.org (Postfix) with ESMTP id 7E7BC6B0080 for ; Thu, 1 Apr 2021 07:10:42 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 3E55118253F2C for ; Thu, 1 Apr 2021 11:10:42 +0000 (UTC) X-FDA: 77983530324.09.B75A4F3 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by imf02.hostedemail.com (Postfix) with ESMTP id 831CF40002CE for ; Thu, 1 Apr 2021 11:10:38 +0000 (UTC) Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FB0mD68hfz1BFTB; Thu, 1 Apr 2021 19:08:28 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Thu, 1 Apr 2021 19:10:26 +0800 From: Chen Huang To: Mike Kravetz CC: , , Chen Huang Subject: [PATCH -next] hugetlb: Fix the loss of exclamation point in comment Date: Thu, 1 Apr 2021 11:18:15 +0000 Message-ID: <20210401111815.997878-1-chenhuang5@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-CFilter-Loop: Reflected X-Stat-Signature: kueo5wnwiac4hd7armz3ipxmk5ukhge7 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 831CF40002CE Received-SPF: none (huawei.com>: No applicable sender policy available) receiver=imf02; identity=mailfrom; envelope-from=""; helo=szxga04-in.huawei.com; client-ip=45.249.212.190 X-HE-DKIM-Result: none/none X-HE-Tag: 1617275438-77153 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: In "else" and "endif" comment, it loses the exclamation point. Signed-off-by: Chen Huang --- 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)