Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp242117rwi; Wed, 2 Nov 2022 11:21:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4s8jshRzkoGGlRCFe1twIhkKXr0KBprugB0ETWt0clEjyWsajf1Sx6/BHL2AXFQ30PP1Zh X-Received: by 2002:a17:907:1ca7:b0:7ad:9227:5288 with SMTP id nb39-20020a1709071ca700b007ad92275288mr24334899ejc.62.1667413309060; Wed, 02 Nov 2022 11:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413309; cv=none; d=google.com; s=arc-20160816; b=IWsMjvG904C7WFphXo6cy9qbNqqjjyMd9BjpxwWUExTRCG8rSSplomgzO5Kp45zzWs DKebd3YDqfOE4im1ITllyxFFebWJ6PVXRbxGUaG9SQmu1GJSJpN1pMOwJJEyxt26j0T5 CrgsrzNFlce0bayYCFCArv5V6hq7RgRVHXmXKskiPsUF9TwIkghaqVQz0muou3pLZf8O F+J14Qy5ItmQ8Mc9LGDXPnqTYVb7sKR6LHGB6kq0tU3XK56AKw1US4kDg24GqqYgESY3 kHM2UDp5hrEQUdgwjDQYIlunzLkOkkPZ9fAMB26wQAFLH7Afwalyy3sQ9By1xo1Nwo5r 6yxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-disposition:message-id :subject:cc:to:from:date:dkim-signature; bh=VOfZR1bfgraHOMF0H2A4SdBgmD4c0rbRbY/XavBwa1Y=; b=bIrg42ppE/6yXvchjBNm5XQf1t1aIqM+qiPLdWny8CXN5og6/2DqheP4684R4TK3FF jtLUXX5X/0CcXk7UUQz/6IWl6hbiJiD0NoX9ydJobqc3ZZJHBcO4rEIuGY9FCQQ6UQKx SeJtFn2MarLRYNOVXd7htvKgiB/KjQyMGIh2jSaGWRC/gIsMC30LiDtg690H9eiy8Uts 8/o7qBRwvNe8NN+E4BxNWLXzS0gGXwQKXWpwBWwyPZ5zqgKE1N5IIAAnj5W6BK7PcGKz EwKWuhthD7AMkxoeBnXBaCbksiXzOUhNgwmROo0seR5PlYCaidCDBaioyCujrfrPwZvN TUNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Yh9X3toC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa36-20020a17090786a400b0078ddf8926d2si17649341ejc.827.2022.11.02.11.21.16; Wed, 02 Nov 2022 11:21:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Yh9X3toC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231601AbiKBSKx (ORCPT + 99 others); Wed, 2 Nov 2022 14:10:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231557AbiKBSKX (ORCPT ); Wed, 2 Nov 2022 14:10:23 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8922D3055A for ; Wed, 2 Nov 2022 11:09:32 -0700 (PDT) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2A2HBXXT011227; Wed, 2 Nov 2022 18:09:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : content-type : mime-version; s=pp1; bh=VOfZR1bfgraHOMF0H2A4SdBgmD4c0rbRbY/XavBwa1Y=; b=Yh9X3toCIYMLmmxtgI+miLyc8gO8gV0gSuTgldwyAbNb79EjR/WjFKT2muCoSCnCaGRC wIualL00FcSlWJRTfTmp7/kUKonwM3G0ixhozFeh2TPSNYRVTKp3IbeyfvZ3VFZY1lzb qpHOxxQY7IsQ0gs8FPGAinZQBQCJM+A5btZmnuHDcHF8TQ+agScJ8m+odQUMBR8vO7xx sz1mz5OGbc2V4+RJD5l/0vK3v/Byvzl+C3/B8yFNGEDTl7ZpJ1psf33tYpj2uiQowXyM knZ90yAOCCA9MqtzTEIBgRurLIRo1y4CWVzRzh26AhgTPyIBslHt1oZdveXaIisUy/vK IQ== Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kkvbyaehx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Nov 2022 18:09:23 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 2A2I5a9e032273; Wed, 2 Nov 2022 18:09:22 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04fra.de.ibm.com with ESMTP id 3kgut8wfpv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Nov 2022 18:09:21 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2A2I9Ie2197148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 Nov 2022 18:09:18 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D8491A404D; Wed, 2 Nov 2022 18:09:18 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7E33EA4040; Wed, 2 Nov 2022 18:09:18 +0000 (GMT) Received: from localhost (unknown [9.171.5.179]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 2 Nov 2022 18:09:18 +0000 (GMT) Date: Wed, 2 Nov 2022 19:09:17 +0100 From: Vasily Gorbik To: Muchun Song , Mike Kravetz , Andrew Morton Cc: Gerald Schaefer , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: hugetlb_vmemmap: include missing linux/moduleparam.h Message-ID: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Patchwork-Bot: notify X-TM-AS-GCONF: 00 X-Proofpoint-GUID: Ec98p4g_hAQ4m1_VWDE0Alz8zEb-aPWF X-Proofpoint-ORIG-GUID: Ec98p4g_hAQ4m1_VWDE0Alz8zEb-aPWF X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-02_14,2022-11-02_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=912 priorityscore=1501 spamscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1011 mlxscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211020117 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kernel test robot reported build failures with a 'randconfig' on s390: >> mm/hugetlb_vmemmap.c:421:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] core_param(hugetlb_free_vmemmap, vmemmap_optimize_enabled, bool, 0); ^ Link: https://lore.kernel.org/linux-mm/202210300751.rG3UDsuc-lkp@intel.com/ Reported-by: kernel test robot Fixes: 30152245c63b ("mm: hugetlb_vmemmap: replace early_param() with core_param()") Signed-off-by: Vasily Gorbik --- mm/hugetlb_vmemmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/hugetlb_vmemmap.c b/mm/hugetlb_vmemmap.c index ba2a2596fb4e..4962dd1ba4a6 100644 --- a/mm/hugetlb_vmemmap.c +++ b/mm/hugetlb_vmemmap.c @@ -11,6 +11,7 @@ #define pr_fmt(fmt) "HugeTLB: " fmt #include +#include #include #include #include -- 2.38.1