Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp870757ybf; Thu, 27 Feb 2020 01:03:26 -0800 (PST) X-Google-Smtp-Source: APXvYqwoA/o+KshHNLveSe/YwZ4tliq8ibLZdNv/hBB3fQqLkcjRSIsAMsBxWhj9myw6gfFYdq4+ X-Received: by 2002:a9d:68d9:: with SMTP id i25mr2424372oto.135.1582794206087; Thu, 27 Feb 2020 01:03:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582794206; cv=none; d=google.com; s=arc-20160816; b=wVHllHgOtV7b0QP1vRAHG0PuU+iVJ2paEeq7GESC0JYopr+GNZsWtRnDW3QlG3Il62 Z8tzpK0P/k+ZjVSvpBK5soCqRo9dGhq8YmOFKZiWymab1DtOcuQddoGTATZXOOuXKbRV GTrxadk+2IkbrjJf3z0FKxGMdFOrp38mzkYCgB+CAiOqFZqYEzbI8aiUS1T/dcCKEtK7 6IO00BKCxINnz8kiwYT9c3xZ9grvAU9nj92hN3yvxbvHWjFtcHpor9KkWDs8U86qEXWy oejHfJ4iWw4cJWgG2IiM7G0kS2pitD5xH03LaD+qS43/zDEWeKOnGhr7jeUcM/4YJKpq WDMg== 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 :in-reply-to:references:mime-version; bh=ZL+I4nVgZ/8Uy61b+0pKrzahttB7GnkzgyYhltcyIvs=; b=wpP9SPZioqhV6DI1Ny06wMSdLua1V49HYSpSFVSpNopLKuIPjy77MygSgTPjQIIjVL Eufy5LAchzdMDqvMhluC5laRdjkXVN70JFTnht/V/0gR/iTWQnO/5RjZShXwcGSJDmV9 PWE3zY25YmeESi2CMs6lhfFrNS3JTTCOMNPhxlPGi1QrPPjpEvFkH94zJwxd4lObjE6n 6Q71q/v5vvw2/bHUODwLRridnupi0ofnkocxi9YRwMSIM64Ev+Xz3XM42oqx2mzgNhbv F52e1HM+5Y+N/B9+V4bfGSuJnQnZZXCFiNi2kQOtbs6JHv0Y59hXsrfqcYPL+IL6mNKc HE1w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l14si1015848oic.222.2020.02.27.01.03.14; Thu, 27 Feb 2020 01:03:26 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728729AbgB0JDM (ORCPT + 99 others); Thu, 27 Feb 2020 04:03:12 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:38209 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728464AbgB0JDL (ORCPT ); Thu, 27 Feb 2020 04:03:11 -0500 Received: by mail-ot1-f66.google.com with SMTP id z9so2227820oth.5; Thu, 27 Feb 2020 01:03:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZL+I4nVgZ/8Uy61b+0pKrzahttB7GnkzgyYhltcyIvs=; b=GgzP9SMR1pIzkpBrM4X5lMMffd9gfprlZFyRFGYllIedrpYLM+Od7mE800PA9wKbNO LaPFqCkwyLOklNnDvndxu6lj5MFcpWAyoSD9j8G7U1a5wKOvE9/8jYOUgD8MzgXD6vht Rjsq4B5Vb7OZdlvl0ownr0Z4nx5dUwFsnD7p1IGTrNdXtFYf1bCr6FZweMR9ekj8sbvm G4boh2y56un+R/oHLHF/E06NRWydpxujZaDFESMteJTExMMLCHNW7nAcdwNaBLKEKFIK nYuccYGGmI0PVd+d1bsfoErQdhU3QSbIoGm4WOMMI1Vp7TSiGILcDDLkQpLehqPw/7tE WdOw== X-Gm-Message-State: APjAAAXpKnuemhGSaeBYF1tO+irN/QvkOQeh0bPKxLqzTL6pTWffGsdn VBEBNbVThFSviGV+GKXl/4Tsax6a+LXTjVxYoAo= X-Received: by 2002:a9d:dc1:: with SMTP id 59mr2433887ots.250.1582794190767; Thu, 27 Feb 2020 01:03:10 -0800 (PST) MIME-Version: 1.0 References: <20200227151143.6a6edaf9@canb.auug.org.au> In-Reply-To: <20200227151143.6a6edaf9@canb.auug.org.au> From: Geert Uytterhoeven Date: Thu, 27 Feb 2020 10:02:59 +0100 Message-ID: Subject: Re: linux-next: build failure after merge of the akpm tree To: Stephen Rothwell Cc: Andrew Morton , Linux Next Mailing List , Linux Kernel Mailing List , Arjun Roy , David Miller 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 Hi Stephen et al, On Thu, Feb 27, 2020 at 5:12 AM Stephen Rothwell wrote: > After merging the akpm tree, today's linux-next build (sparc defconfig) > failed like this: > > In file included from include/linux/list.h:9:0, > from include/linux/smp.h:12, > from include/linux/kernel_stat.h:5, > from mm/memory.c:42: > mm/memory.c: In function 'insert_pages': > mm/memory.c:1523:41: error: implicit declaration of function 'pte_index'; did you mean 'page_index'? [-Werror=implicit-function-declaration] > remaining_pages_total, PTRS_PER_PTE - pte_index(addr)); > ^ > include/linux/kernel.h:842:40: note: in definition of macro '__typecheck' > (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) > ^ > include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' > __builtin_choose_expr(__safe_cmp(x, y), \ > ^~~~~~~~~~ > include/linux/kernel.h:934:27: note: in expansion of macro '__careful_cmp' > #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) > ^~~~~~~~~~~~~ > mm/memory.c:1522:26: note: in expansion of macro 'min_t' > pages_to_write_in_pmd = min_t(unsigned long, > ^~~~~ Same issue on m68k, as per a report from kisskb. > Caused by patch > > "mm/memory.c: add vm_insert_pages()" > > sparc32 does not implement pte_index at all :-( Seems like about only half of the architectures do. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds