Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3351768ybb; Mon, 6 Apr 2020 07:19:45 -0700 (PDT) X-Google-Smtp-Source: APiQypI9cuveYBFmYScRjF2RO2jC4gO0Wnozv8IXmwgoR9ctTiUohXjLn3/fJWCSLQDTv3ApLtRy X-Received: by 2002:aca:ab4b:: with SMTP id u72mr13246359oie.97.1586182785024; Mon, 06 Apr 2020 07:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586182785; cv=none; d=google.com; s=arc-20160816; b=uMFFcz77DEZE+nXjt+m1+smg4/myW14QDCqnGd1V+jDyU2MOeO4/aLqUw8C9IOSeqM 06I+GNZ4d3RHsG4f5arLymJrz1dFqGLPRRSsBqatt4a28yk2XxFov66/8gtq9I0VCrsz 1dulJUIaupxeGM4yYif0ZAA76BIKmc8DfLaFN6vBBvoYrmOS/CrdyHDHYZf7ilTKlm/3 /egMKlsb3yS2mXQa7vTfGwW0Vz59iwuzz8lEc6r92kRKDEnNqy4xd93FhZa6Gvt+lSzK X2HhI97Zjz9+O38EzsSGwJ2F/j88JD1V2kIxo1DqODb6e2yxfvjw06Chs1kR7qlBS9tK Lhmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=i+DHhA4uP4W3/Bd9snVo0MmOnahYMRtQYHM0nrWquWo=; b=LUSEmVFnaOPWdp8UQUU9UF7UXxMSzmgyTNEU5+ybHQX1MtTfKXaAAFNw2MPk6dJBq8 uhhcFRAHc3xKC9Q5npSdp/+/uneBjdjeALSSBdTq+iR9jp+EhjUfgP0cIcZ9p1YJoG7U AX0YeJjOu/CGXME9NyBwMpjdhAggh2kZWEgDHjfKiZHGOuQuNSgH1jqAUaSMM8mvVBz7 1BARrsPq7kmm3a3AoFKt7LPzCpKhv1DKPQyX6pL7lxHOq2LHNOpSzd9zRctyHmyRP3Pe fSkyurCIVJ4914C6rQ0jllgY1fFrlNgvtMXz0msMzkyvf2zqvOvooxRO9JM2kXcyPAkt ea9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GrRWZthr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si1915349oon.60.2020.04.06.07.19.32; Mon, 06 Apr 2020 07:19:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GrRWZthr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728619AbgDFOTJ (ORCPT + 99 others); Mon, 6 Apr 2020 10:19:09 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:44596 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728200AbgDFOTJ (ORCPT ); Mon, 6 Apr 2020 10:19:09 -0400 Received: by mail-lj1-f194.google.com with SMTP id p14so14844874lji.11 for ; Mon, 06 Apr 2020 07:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=i+DHhA4uP4W3/Bd9snVo0MmOnahYMRtQYHM0nrWquWo=; b=GrRWZthrMHzdNMiLm0XE2q77/jqHoQHCCD/0kniMqPDFoc4Bx+JZaR8tyQpY4O0Sup LuNF0MSg4P290N0C6ujxzGLZHlXdeh0yFAVrFvrC1JBCmzVmnF9FumiVxaINLyS8xPTV 0D1NoelFqanOXFTKzbMcE+mcZ24W2YbJ3Ij0fPg4D9jfrfI7qCZCmr66flTyrbWukYBp aiBIbZ+Q35+rE92EUvee36mq8NoSk5SVHXKzkuA3XfA+qGTRa6Xt7RFwheu1qw2D+pkG A7LrLkOGO7xOEdtz2i8Pd4BVKNoMFpfOtzsPcgxg65hpyOKrks2X17GLEsQ/uTE00fNl Do6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=i+DHhA4uP4W3/Bd9snVo0MmOnahYMRtQYHM0nrWquWo=; b=sP36EYuUAIhXXuXvR0JXWvVZBxj5+ywz1kwxeMY0/pksiYaBwo5lWLJtkKynz0pXux +dmbVKkHYBwDMlUXnx6HC8WOkGD9AjFWkELReMCj3Z8I3ujxBmvA1Qa28cvhA/MqqUm8 ckUdSyiwuSdpoCKSuw8ATT50eHJl4flijjxU8PgM+UTdY7uFKcRqL8c/rC8LbnQKE8XO OvnRnBTIBOeDILuyufsjUBDtQJcU2odzJ4Ft2MsbmlWtYuG5OEOIP2n/N0vZ9UXehH6c mbXESEdMKQE1L/6CezOsOtzJLp7zfG5O6yKDEhzaIHIe/yAo+5jyJvaGi4X9YKDhxx/b KvVw== X-Gm-Message-State: AGi0PuZxlmLmDArDjlNTIeaxlKUYKwFPa4u/3qkTNTGTZ6z3sNEISnng uISDbPVTiKNz1ms8zO5z5Z1mjcWoDaW0p6QGAH8cdg== X-Received: by 2002:a2e:8015:: with SMTP id j21mr11801293ljg.165.1586182745649; Mon, 06 Apr 2020 07:19:05 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 6 Apr 2020 19:48:54 +0530 Message-ID: Subject: mm/hugetlb.c:5580:3: error: implicit declaration of function 'for_each_mem_pfn_range'; did you mean 'for_each_mem_range' To: Andrew Morton , open list Cc: Roman Gushchin , andreas.schaufler@gmx.de, "Kirill A. Shutemov" , Mike Kravetz , Michal Hocko , Rik van Riel , js1304@gmail.com, lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While building Linux-next master for arm beagle board x15 the following build error was noticed. mm/hugetlb.c: In function 'hugetlb_cma_reserve': mm/hugetlb.c:5580:3: error: implicit declaration of function 'for_each_mem_pfn_range'; did you mean 'for_each_mem_range'? [-Werror=implicit-function-declaration] for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^~~~~~~~~~~~~~~~~~~~~~ for_each_mem_range mm/hugetlb.c:5580:62: error: expected ';' before '{' token for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^ Few more details about build test, CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y # CONFIG_TRANSPARENT_HUGEPAGE is not set # CONFIG_CMA is not set Kernel config link, http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/intel-core2-32/lkft/linux-mainline/2591/config Build log, https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=am57xx-evm,label=docker-lkft/743/consoleText -- Linaro LKFT https://lkft.linaro.org