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=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 35078C49EA2 for ; Tue, 15 Jun 2021 16:04:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E21B161465 for ; Tue, 15 Jun 2021 16:04:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E21B161465 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 590216B0036; Tue, 15 Jun 2021 12:04:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 565906B006E; Tue, 15 Jun 2021 12:04:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 406926B0070; Tue, 15 Jun 2021 12:04:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0135.hostedemail.com [216.40.44.135]) by kanga.kvack.org (Postfix) with ESMTP id 0D3086B0036 for ; Tue, 15 Jun 2021 12:04:26 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 8C678180AD804 for ; Tue, 15 Jun 2021 16:04:25 +0000 (UTC) X-FDA: 78256429440.01.F13231B Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf20.hostedemail.com (Postfix) with ESMTP id 1A0B857B for ; Tue, 15 Jun 2021 16:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=RSxTZhrCVvlPH6TBm6FnRJTJu75hcXLGuCqA5vyGd3E=; b=QW8LsKzdoxvuzETlb8iSe7Kr32 T2cb+EcRVDPc0Hc3U1mHEAfLqd5EsjoYYm3+SnF4bzVWdi5nsbS9E0QSm9ee6BuO79LqzXwf2YPab JfKyUSItkaqTbZZUbfaKrwtvf0EoWgTT+1ukpVoVsqLRMNV4RDNcyyXrUDK8in8kZpHDYuxk0a1P6 TRfnbpXo8WTyHNjA8fr/hbZ4bXWqFnKb4bH7kH0n/veGSa8d6A5F+1bZXSg1tW8UtO+BhYKnElDtN pbJLr9XjAmpGfRsl/IXZtKEWBDkMQh/6/G9UcdaEt/lG3UIW17qozLULL6Xx/9BkDliZyIFldjcbX OXvoIffQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltBXQ-006zD1-39; Tue, 15 Jun 2021 16:03:46 +0000 Date: Tue, 15 Jun 2021 17:03:40 +0100 From: Matthew Wilcox To: kernel test robot Cc: Hugh Dickins , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List , Andrew Morton Subject: Re: [linux-next:master 9529/10007] mm/hugetlb.c:1591:9: warning: no previous prototype for function 'hugetlb_basepage_index' Message-ID: References: <202106152328.Mh5S48hE-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202106152328.Mh5S48hE-lkp@intel.com> Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=QW8LsKzd; spf=none (imf20.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 1A0B857B X-Stat-Signature: zr64marcj9386jkd4ocwonui3pbpmgrc X-HE-Tag: 1623773051-725814 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 Tue, Jun 15, 2021 at 11:58:36PM +0800, kernel test robot wrote: > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> mm/hugetlb.c:1591:9: warning: no previous prototype for function 'hugetlb_basepage_index' [-Wmissing-prototypes] > pgoff_t hugetlb_basepage_index(struct page *page) So clang requires the prototype to still be in scope, while gcc doesn't. Does one of our clangers want to file a bug about that?