From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS 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 4179BC48BE5 for ; Tue, 15 Jun 2021 22:45:50 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BA26A60FE4 for ; Tue, 15 Jun 2021 22:45:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA26A60FE4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 292036B006C; Tue, 15 Jun 2021 18:45:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 241936B006E; Tue, 15 Jun 2021 18:45:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0BC116B0070; Tue, 15 Jun 2021 18:45:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0027.hostedemail.com [216.40.44.27]) by kanga.kvack.org (Postfix) with ESMTP id CEE436B006C for ; Tue, 15 Jun 2021 18:45:48 -0400 (EDT) Received: from smtpin34.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 6CB8C8249980 for ; Tue, 15 Jun 2021 22:45:48 +0000 (UTC) X-FDA: 78257441976.34.C2D213B Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf13.hostedemail.com (Postfix) with ESMTP id BB4E9E000255 for ; Tue, 15 Jun 2021 22:45:38 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 49F7461246; Tue, 15 Jun 2021 22:45:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1623797145; bh=SOU7W9ZLT6UymrzuLrDZPPZNF27SxghYSvt8NsZvSr8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vUslq/fSFovcMLLB9acL8bRqzqNr+mGPoepnyKRlL/UNGnfHh7PKms27wSGIFQjXU F8GZs5DnM6MNY1QPLAKqTAt7RqMaRw1xIWir5GMzpA5NzSbvpLCNDh8WbTKpBQK5Px tvMnWeE4D4f/lFAScTIXdX9tA6qFFjm3Pffl0hIY= Date: Tue, 15 Jun 2021 15:45:44 -0700 From: Andrew Morton To: kernel test robot Cc: Linux Memory Management List , Hugh Dickins Subject: Re: [linux-next:master] BUILD REGRESSION 19ae1f2bd9c091059f80646604ccef8a1e614f57 Message-Id: <20210615154544.b22aeff23e9391f0b58cad38@linux-foundation.org> In-Reply-To: <60c926d7.tXt5/+3wW2UECP4s%lkp@intel.com> References: <60c926d7.tXt5/+3wW2UECP4s%lkp@intel.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="vUslq/fS"; dmarc=none; spf=pass (imf13.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Stat-Signature: pg6dmcwfz5x3xop8rsjiosm1uaprtc1i X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: BB4E9E000255 X-HE-Tag: 1623797138-849782 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: On Wed, 16 Jun 2021 06:16:55 +0800 kernel test robot wrote: > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: 19ae1f2bd9c091059f80646604ccef8a1e614f57 Add linux-next specific files for 20210615 > > Error/Warning ids grouped by kconfigs: > > clang_recent_errors > |-- arm64-randconfig-r014-20210615 > | `-- mm-hugetlb.c:warning:no-previous-prototype-for-function-hugetlb_basepage_index > |-- x86_64-randconfig-a011-20210615 > | `-- mm-hugetlb.c:warning:no-previous-prototype-for-function-hugetlb_basepage_index I guess this? Against Hugh's "mm, futex: fix shared futex pgoff on shmem huge page". --- a/include/linux/pagemap.h~mm-futex-fix-shared-futex-pgoff-on-shmem-huge-page-fix +++ a/include/linux/pagemap.h @@ -535,16 +535,16 @@ static inline pgoff_t page_to_index(stru return pgoff; } +extern pgoff_t hugetlb_basepage_index(struct page *page); + /* * Get the offset in PAGE_SIZE (even for hugetlb pages). * (TODO: hugetlb pages should have ->index in PAGE_SIZE) */ static inline pgoff_t page_to_pgoff(struct page *page) { - if (unlikely(PageHuge(page))) { - extern pgoff_t hugetlb_basepage_index(struct page *page); + if (unlikely(PageHuge(page))) return hugetlb_basepage_index(page); - } return page_to_index(page); } _