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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 DE0AFC433DB for ; Wed, 20 Jan 2021 05:50:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A4F982313A for ; Wed, 20 Jan 2021 05:50:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727851AbhATFuB (ORCPT ); Wed, 20 Jan 2021 00:50:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbhATFtm (ORCPT ); Wed, 20 Jan 2021 00:49:42 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A20ABC061757 for ; Tue, 19 Jan 2021 21:49:01 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id gx5so12599754ejb.7 for ; Tue, 19 Jan 2021 21:49:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Sg+eQWX5XmG9UPozm9aMIM4vRUAvpfwp/DxyqeQH+kM=; b=OiI0fbiI56Dj8fIBLthH32GIJ3u7qZMzkqtuEfwJfMCjukrgQil63Qm7UqGaBUkwia MCYmQYyLT3cE0hCAe9Gx6e8Gsb/H5VyK0tep68wl/HtRlH5hudx4VQEERZcMWbk7OY0+ 51mZJRszvEqsavZbPxncvlJMPVVpeBb+hMGhLO6ru0JRVFSYOt3gySV3q7LirwVTl6cQ 2HaCzjikz3yhw7SnwdsasLoh6ggiSAYuR1yez13Xst8PSSa4UpDHpPmd1MyAxhv5Cp8R q3oVBFRb4yQqSmImL3Z5xnWitWbcfoEbKeAkmJm9l4H0pW9E0I6nVGI3sm5l0y55vXCb dTew== 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=Sg+eQWX5XmG9UPozm9aMIM4vRUAvpfwp/DxyqeQH+kM=; b=VvkikZbWe53HrJQXCvfX+FWgOdKQeYnLE4ObYh3H7WnsIis8wIxDvHMWM0uw5/5eo2 Quc8ygTYv5Zkgnsui/QR8ROCtel0GMn7s010bp3wJIGFVFpqdDEtoFkN6RsMxH/Jt4lG tTuGmNr46alEfZkNylA0AOb4USP6yeQNOhTIbF5vgW8CDFl36979WFv052AusMr/gZMp wTHQ15ElY4I0spDoKoilbUkSTsYp6TgYsYyeM4/lvXTlWJjA6kNZnn82RDYcPp+3oOZc CunbNodZAPqLYnBNHyThrNm9Jz1RlTT83a0GISyrrZoKpr3/27HGWlVISORM8yxmOCP/ 6zqA== X-Gm-Message-State: AOAM531vrZC7XeyAGGvH1DnZ/n0lK3I7rE94rjOrUPeGBNWMx2jnYsSO psuWY19IQ2qEW9zG5euSf9m2zJnPDECH9Nnd9OCggA== X-Google-Smtp-Source: ABdhPJzTVjE2cR/ZiMdJedsP8fFfGV5dFl3LwNkye6sKcMtpux+YQjEBhqeTGFG+eC5rCmwZMVi729qK7PquOeg7CgA= X-Received: by 2002:a17:906:f246:: with SMTP id gy6mr4930989ejb.264.1611121740333; Tue, 19 Jan 2021 21:49:00 -0800 (PST) MIME-Version: 1.0 References: <20210120162518.4fdc8f00@canb.auug.org.au> In-Reply-To: <20210120162518.4fdc8f00@canb.auug.org.au> From: Dan Williams Date: Tue, 19 Jan 2021 21:48:52 -0800 Message-ID: Subject: Re: linux-next: build failure after merge of the akpm-current tree To: Stephen Rothwell Cc: Andrew Morton , Randy Dunlap , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Tue, Jan 19, 2021 at 9:25 PM Stephen Rothwell wrote: > > Hi all, > > After merging the akpm-current tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > mm/memory_hotplug.c: In function 'move_pfn_range_to_zone': > mm/memory_hotplug.c:772:24: error: 'ZONE_DEVICE' undeclared (first use in this function) > 772 | if (zone_idx(zone) == ZONE_DEVICE) { > | ^~~~~~~~~~~ > > Caused by commit > > e821cf25cfee ("mm: teach pfn_to_online_page() about ZONE_DEVICE section collisions") > > I applied the patch from Randy Dunlap for today. > > That, however, lead to this warning: > > mm/memory_hotplug.c:730:13: warning: 'section_taint_zone_device' defined but not used [-Wunused-function] > 730 | static void section_taint_zone_device(unsigned long pfn) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > I sent this one as an alternate: http://lore.kernel.org/r/161111619868.2787408.1710192276369197040.stgit@dwillia2-desk3.amr.corp.intel.com