From patchwork Thu Dec 12 15:39:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13905411 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61F9BE7717F for ; Thu, 12 Dec 2024 15:39:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EC7CA6B0093; Thu, 12 Dec 2024 10:39:24 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E77B16B0095; Thu, 12 Dec 2024 10:39:24 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D667E6B0096; Thu, 12 Dec 2024 10:39:24 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id B6D296B0093 for ; Thu, 12 Dec 2024 10:39:24 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 7532F14017E for ; Thu, 12 Dec 2024 15:39:24 +0000 (UTC) X-FDA: 82886715114.01.4E4D91E Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf15.hostedemail.com (Postfix) with ESMTP id 43287A0008 for ; Thu, 12 Dec 2024 15:38:54 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=KthpSs3b; spf=pass (imf15.hostedemail.com: domain of arnd@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1734017937; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=7UKMVfq7Z+nUuuxZk+hA8YXIuNh9gpDDw5aakA2Hz5Y=; b=NjAjl+VeV6M84PDx9x8JUqcA+marWTV4tGHBMeN+8CP059rwf/Hnh/+wE6iLFma7aEFpOs TIpCrLpT01YXkmYFoDmC+7TcqpDk/PBVLgRzhnwNxiYJiU9kFUHWgWk3tzYIxOd9LzX499 4+oVcNGgRP6VkXkYQ+Xmp2mTQYvTvzc= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=KthpSs3b; spf=pass (imf15.hostedemail.com: domain of arnd@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1734017937; a=rsa-sha256; cv=none; b=pQlqPJKZtcj6TxTmcQppgV4euYUmM7usPId04ngZE6T/vofHh+627BdlVq8w143l37MlXK oXykqaD2+3VhACp3r7LurBHMllABIb+rjSIgj5kAgNLj8vht3n2IuA0RgFwkrEnf6dAYBG Lt0/wmH7+m9YzpfsILlp4acbxDzz5Ww= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id EA183A41AA4; Thu, 12 Dec 2024 15:37:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98597C4CECE; Thu, 12 Dec 2024 15:39:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1734017961; bh=d39Ur9JdCLchD2dgxGueQbpDyONUWTQL7p1gLGqxRkA=; h=From:To:Cc:Subject:Date:From; b=KthpSs3bpc3Mkll6mrZ4naR9FEMuW+IygdyG54PvLgi6SbExUBTsge4AY9fd3Ueq5 IK0ayK+7m5gsSeLZ8+IDB/6qT7/DUF4XU56CVIs9gCpdj/xkYQXyRjPzU4idQlLAsc yrIlNfLkVjwKycFojToV9ZMTTOVBCfK2ambwnHzX0R0bH32T1m2nk5p1JHY8ngcYFh l4S7IZJFPZLStaMmUDJ5OyZA+Mkn8XkZa3IaK4/6hsRJ2NTzQHJrEFSdCOWiCpW4rK K8lvK9XlzZwdmtmlkAfP3Fhcx0wooLnRx2maA8bOfKk9cmhFK0fnK6NXabY7rMn7mF kPjF39SSUp3gQ== From: Arnd Bergmann To: Vitaly Wool , Andrew Morton , Junjie Fu Cc: Arnd Bergmann , Miaohe Lin , Uros Bizjak , Yosry Ahmed , Nhat Pham , Zhongkun He , Johannes Weiner , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: include linux/pagemap.h where needed Date: Thu, 12 Dec 2024 16:39:10 +0100 Message-Id: <20241212153916.1292365-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 43287A0008 X-Rspam-User: X-Stat-Signature: e1mtt9f3i7ufdcbu6n5fn6zp3quofdyt X-HE-Tag: 1734017934-689636 X-HE-Meta: U2FsdGVkX1+3D9UCfGsuzzKB+rbkZUZUmO7/dhpW742fj01zR6SPsmpru44+gwc3qtACtbJV1kaTcGCMckX33XXke6mSNslZoGwSpL0nBV+a2Q1z7RN6dSftP/pqwhKeE3hIazCF1LVZBxSi5kcPVuhBH5bEZwZnrl5dbh/tk3XEGQR39ltx7nuv1r1Si9UqvYFK9qqjgKTHYFqTph8YM8/RcOa2m/FWCJscvjwe12t3gS2EiPZhtZsdqy8e658wNxhD3BU5kievjk4I+d4KSOmZwaalJYBEDMvBN8ioJ4wagIPWczDW1RXS6rGSk0MBbECgCgxzTaL9tqPBoZXDG+2YU6Q4ByTq4/ww9ReFYHH43JibxdRf9gyO4cAq2toFnJZklHU+2P1BSxXeDkyMS64DCnnzhEDNIDUJ8fABl2fQ0yYbXYeyCTP05bnAv8FkpKsr1rgvFYMkioZFodZDe3dvbB71lbVXozFkPvAtPS/6xOj3blymzvZekvq65y8CeKkfDvxQeL0aIq6pQBHpXenADY1IKfPyTSBrrmqIh8F+8MaKnpulv2aK72RRFdtpW3D/wagylXtU0dsNg0vx7p630nj2EHJHuUtWoMmgWG4cnmqbFKMqhb1a0H8V9hN0HGK8dnhpkMHgcPQ4U+LiqsPT0yamjjHzQa6B+dvMIWseLZJCpCIYb7/5A+NWY1kF7Clb7umQihrEcc//BttvqbNkY06ZJCufXuzwe8m2hCQFac9sVnGW00MwTh2Bkfq78MTGWh25NzVj9+jPJtuMoP+LMAEH46v7BBc2/N5CDnyDTFMPFY/NchVuE4KMQC/eDLS8YBc6AHQ5j0ULB76ERuHQ1xz6vUZQga+pxmG1FgetBOMKx1CQTqHE4STkN079gosm6ozDPxojkZCWX5xYjss3xHjvxuJizeb/GGl2Kfl4EMei+TNUQroQ93eM7O1N8+rI7A3JiLmJ10je0fv 8C+WqVL3 TS2ooMys1Tr58mxngrMCJPnumM/PRFfr0aTyxbbDlzkvsPO6AkhEFQ86NeLigJ5qzisnvASo8rrsYh7U7ziM3bqO5pjErtWf/Ptph2w9pI/cmX7hWe1ukXExzzyXKEKless08+JyM4wKmYaLeUDeqwdxnQZkp1kXUzoPwQyyyxDTfQUcIB1+CyZOU0bo4LKirQFzJJmldQ/Bj3V8= 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: List-Subscribe: List-Unsubscribe: From: Arnd Bergmann The pagemap header used to be included by accident here but is now missing: mm/z3fold.c: In function 'free_z3fold_page': mm/z3fold.c:353:17: error: implicit declaration of function 'lock_page'; did you mean 'copy_page'? [-Wimplicit-function-declaration] 353 | lock_page(page); | ^~~~~~~~~ | copy_page Add the correct #include statement. Fixes: a6c37165ca40 ("mempolicy.h: remove unnecessary header file inclusions with no test failure") Signed-off-by: Arnd Bergmann --- mm/z3fold.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/z3fold.c b/mm/z3fold.c index 379d24b4fef9..4ae93bb2e3ab 100644 --- a/mm/z3fold.c +++ b/mm/z3fold.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include