Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp594295ybt; Mon, 6 Jul 2020 17:37:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRchj9UqPKB/PgMlg9YlcrpQ8W8dib9df019XZBhyhYJDlkedP0br9ZIUaTxbAwUk7CKrh X-Received: by 2002:a17:906:cc13:: with SMTP id ml19mr44822402ejb.288.1594082278879; Mon, 06 Jul 2020 17:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594082278; cv=none; d=google.com; s=arc-20160816; b=y3A6BVTPSOt/L06ZDXWQlERtCJzbUdOZ9X6mMrS4kAyNQuxJMWQh8sQrv3tX5y6kdf vGBc+Z3GExmyAWAHynEbQjbQNHUJXMnKqNqFZycT3d1jLJa/YDMd0PXJf5U3Koz/fjR5 fjA8i9fJsQ1nSENHOY9iwBej9ceEcdawQFtE1JoHAngv6d9tx38TjwdbUnhJW+cRABq4 EvdCoCYgj0yldStazA3kIGihlfuB41P5qf9SAxUOoMXcwfPvleourLa6eMZpKQcUgDNI um8U3NPZyp8bJ0p58bnoO+8chIVKeBBSHRVmO7hv4AwmWxB4Jr6efJFXiXTDapN3Gdxu THgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FRRksZf5+/NEkcn7a9u2MMQqVbOUSJFEbYbaDeSC7yM=; b=OkURj9z9d1WP2qYdqikbYjoJZyP9Mh4k0nv+yuoZ+rDZuzQ2fctRTXMYIwrL6+Et5K gBIJixnT85CTvdTu1t3MIivuD60kN3cS5yjB4iJ3cez3Oyzh7P0YTGFFsGO6x4Af4MwS ZUhl/AP3HIa43CP3N9AwF0PKUwKGgWtAUljnYN9VRQN/7xy06SORD5YNIL3tQMfWBkm2 HjFp63dwDxIaiECZdjXXS53YU58CO3XpkXX1xCWcVfV8MUwJlYiZnDU+SEB5umJ1X7jY CGOyche6u7MgWMsQJPNtqVAi5CJl/FMZdarc0sMI9xGRxZmsJ8ZuJe/YFHgjfG8M1+Am fFLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fcVEGPS1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si13840317ejc.348.2020.07.06.17.37.33; Mon, 06 Jul 2020 17:37:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fcVEGPS1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726900AbgGGAfX (ORCPT + 99 others); Mon, 6 Jul 2020 20:35:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbgGGAfW (ORCPT ); Mon, 6 Jul 2020 20:35:22 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E313EC061755; Mon, 6 Jul 2020 17:35:22 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id md7so2611057pjb.1; Mon, 06 Jul 2020 17:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=FRRksZf5+/NEkcn7a9u2MMQqVbOUSJFEbYbaDeSC7yM=; b=fcVEGPS17mlzUdipLWykzrVBUNoqyCYO+bI2yUhaB0fiuPKU2foIUV/xOU29yZqVao 1dyJJjw2c7WMOTSmFYl8eH3SnefFcx2yINL27vZ2/84bIXRFhEwdJ0lfILDFHMTpTb7e qKSuvOl10W+kY+tOXf/QBZi9a9cWYh+62OnHgpzFyOiOXIo7UVCIVsTzBC6PEaCq/Z3t KJOb1j0ZBIJV1nhKEjw01kcspJ/jjnIwHIWEcu1jBFoZYMHnLGcak4n3bv58IKyU0qlF Lggzm84VjbzROrlmpU4N0S7WPg1LP7edjTnVAdXaStwrfb88Adcu3F0b/3A5GyG/W+7W 0kaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=FRRksZf5+/NEkcn7a9u2MMQqVbOUSJFEbYbaDeSC7yM=; b=FU15JDAjeBwOZXuoAtBZ1mHvWaSL0U8+HK6S9o9r9qmr0KKqmL3P63T7JiopipmYAI iIIbXH583vMnp9yGuoplOgyO+gTvUlT13yxwGw7lUCdjlSjOVzxOodfA1vH8wWh8mc+9 yb0API2i3Rc5dMwbk2atZI6ZjSqhry9sGR3Mg3ZMmmrtY+6HhZx/POmuO2HQPkq0T1Wu k5HnTjoSVz4UbNqHWpaPn/KfqFKddMtHU/Wq5XIZ1uJCawLIQ02O7AfQve7FIztm2ux/ dagEVP2WMI/sKb2kO6lUnaw6COg3mbTw677dW9xt27VN3qUYum5/nMOKMpX4Q7ql5b20 xwpg== X-Gm-Message-State: AOAM532CMbwt5pxntthlzKoh3us6tPT4ZGxcqvZrQ8yQSfkCX7OTYOjY zd0Juz/bNOThT5x/v+lwGwfZaX87 X-Received: by 2002:a17:90a:1f87:: with SMTP id x7mr1627805pja.101.1594082122460; Mon, 06 Jul 2020 17:35:22 -0700 (PDT) Received: from js1304-desktop ([114.206.198.176]) by smtp.gmail.com with ESMTPSA id e15sm19702448pgt.17.2020.07.06.17.35.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2020 17:35:22 -0700 (PDT) Date: Tue, 7 Jul 2020 09:35:15 +0900 From: Joonsoo Kim To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , Andrew Morton Subject: Re: linux-next: Tree for Jul 6 (mm/memory_failure.c) Message-ID: <20200707003500.GA27886@js1304-desktop> References: <20200706174001.2d316826@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 06, 2020 at 09:59:06AM -0700, Randy Dunlap wrote: > On 7/6/20 12:40 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200703: > > > > on i386: > > when CONFIG_MIGRATION is not set/enabled: > > ../mm/memory-failure.c: In function ‘new_page’: > ../mm/memory-failure.c:1688:9: error: implicit declaration of function ‘alloc_migration_target’; did you mean ‘alloc_migrate_target’? [-Werror=implicit-function-declaration] > return alloc_migration_target(p, (unsigned long)&mtc); > ^~~~~~~~~~~~~~~~~~~~~~ > > > -- > ~Randy > Reported-by: Randy Dunlap Hello, Thanks for reporting. Below is the fix for this error. Andrew, Could you squash this fix into the patch, "mm-migrate-make-a-standard-target-allocation-function.patch"? Thanks. ------------------->8------------------- From 5fac269125dfb2d03e38a75319305e0e70b23a4b Mon Sep 17 00:00:00 2001 From: Joonsoo Kim Date: Tue, 7 Jul 2020 09:16:58 +0900 Subject: [PATCH] mm/migrate: fix for mm-migrate-make-a-standard-target-allocation-function.patch in mm tree new_page_nodemask() is renamed to alloc_migration_target in mm-migrate-make-a-standard-target-allocation-function.patch, but, one declaration for !CONFIG_MIGRATION case is missed. This patch fixes it. Reported-by: Randy Dunlap Signed-off-by: Joonsoo Kim --- include/linux/migrate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 5e9c866..cc56f0d 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@ -60,8 +60,8 @@ static inline int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, unsigned long private, enum migrate_mode mode, int reason) { return -ENOSYS; } -static inline struct page *new_page_nodemask(struct page *page, - int preferred_nid, nodemask_t *nodemask) +static inline struct page *alloc_migration_target(struct page *page, + unsigned long private) { return NULL; } static inline int isolate_movable_page(struct page *page, isolate_mode_t mode) { return -EBUSY; } -- 2.7.4