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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C8F8C3ABC0 for ; Thu, 8 May 2025 11:40:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 000FF6B0085; Thu, 8 May 2025 07:39:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EFB796B0088; Thu, 8 May 2025 07:39:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DB8EC6B0089; Thu, 8 May 2025 07:39:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id BF6076B0085 for ; Thu, 8 May 2025 07:39:58 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 0899B1C9739 for ; Thu, 8 May 2025 11:40:00 +0000 (UTC) X-FDA: 83419546560.23.A45865A Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by imf03.hostedemail.com (Postfix) with ESMTP id 5A74F2000A for ; Thu, 8 May 2025 11:39:57 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="kkG/Cn4W"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 192.198.163.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1746704398; a=rsa-sha256; cv=none; b=mAKzWNiWLMZC2WyyJkeGGVHEES29y3GM8xmDrtent+lqo2U4V2y8cycFchY0OHIgXEeSQ1 wweboaWnSORXyzbFQuOIM5Lnp6Bg4xDtzv8lx29gkIl2u4ug8h7MS1ZBobLQUFHx5U0sn0 qzcu4bS4Vw+A9b0BYAIQyNFbvGfsKhk= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="kkG/Cn4W"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 192.198.163.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1746704398; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=9NPKvRYGvh2wNMnin/lIBxYEHWTQK224PnokSiCsFDQ=; b=ru7bwUBWXWaWkPSsefi6RdAY+XHK1FwMFtVWd3/PzoX04IdYv1uS8fTe8upQNVBcA6lSUM LFMtdtz/jGZij/rcN+BfURFMHZ2HdxgTGGrL3gNskrt41Fhv811EQ0QDBP9IqO/Q1UzBCY HtS66AndgiTjBGPGIJ1PdH/AvLo27kg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1746704397; x=1778240397; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CNe87gFhLNwrymYwLSElRcC8katQ5WYY7ivrdeApVVk=; b=kkG/Cn4WAEy0GS9woKWVGjc/IMOCWtxyvsCN7vIXSrTB+PyJZgyF6O5F Km4Zv4B0pk6LJnoDg0IhbAZ34gnZxpvXRvhksZEOPJnIsT1tuSVdpeLmt cvO8GCxQEtgq9UpgF+i4pHCr2vuiF1VdZUKw6e3Xj8PkDVfFOuQZvggyT ucXkfLkXQr4bFEVOLwv6YWozSQ42bJH7ER1fEaiiLQTzqJEMhnA8dLV9I Aj+ChxDObQvM/hW1xXy5ZiY1YL2pWJrpocITsst51wQ9/GHDnkOvfhhdp uFF00nOG+zdVgvWzYnHBHuD5Z6qSrHCZPQXyNnqvELhjNpteTDtmyq1as A==; X-CSE-ConnectionGUID: jfkxOls5QeG3y3XD+xWV5g== X-CSE-MsgGUID: 16DzilCmQZOMoFzKs+iY6Q== X-IronPort-AV: E=McAfee;i="6700,10204,11426"; a="59142945" X-IronPort-AV: E=Sophos;i="6.15,272,1739865600"; d="scan'208";a="59142945" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2025 04:39:55 -0700 X-CSE-ConnectionGUID: It5zwSqeREiDQNvJt0zqvA== X-CSE-MsgGUID: /sqej5r5SViqOQ3M6BanJw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,272,1739865600"; d="scan'208";a="136199726" Received: from lkp-server01.sh.intel.com (HELO 1992f890471c) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 08 May 2025 04:39:52 -0700 Received: from kbuild by 1992f890471c with local (Exim 4.96) (envelope-from ) id 1uCzbS-000AvH-06; Thu, 08 May 2025 11:39:50 +0000 Date: Thu, 8 May 2025 19:38:56 +0800 From: kernel test robot To: Christoph Hellwig , Andrew Morton , Ryusuke Konishi , Hugh Dickins , Johannes Weiner , Yosry Ahmed , Nhat Pham Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Matthew Wilcox , Chengming Zhou , Baolin Wang , linux-nilfs@vger.kernel.org Subject: Re: [PATCH 5/7] mm: stop passing a writeback_control structure to swap_writeout Message-ID: <202505081941.kyY28sRZ-lkp@intel.com> References: <20250508054938.15894-6-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250508054938.15894-6-hch@lst.de> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 5A74F2000A X-Stat-Signature: 5whr36xpc9ceye5uatp74kshbtysy8bj X-Rspam-User: X-HE-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QjKm7reWS3dZkmrwDX+oCR5tjLPOvepvuNo+QnJCbFdM17vN+P9WWlTKlk2I+1Z4+gmSIg8+1iw5eXx2SeI4AoHGNIUVmJCFiMGFjStxGMnkV4HXIBOUvldHHzebIjuBT/sLhqkWG+VeSFoGXQf1T0OzEpNMfxJqvjpjRLucdJ994+zkH++BsX8KgCNcyDF5sYVweHqQ+h4tR2qt/Nqe95KIY24NQ7b250vQJSkCdk052AJDzLaJQUNFhDloKkaU5XteeIXfKzu7xtRbg5WQIpFEIguJuxOTIzgEOlroDFKqtDEAEIhiI/cFXD8vJnhKJR3yFt5HLUsHNZLHhmiJVNLufvH8TvRVWQ4KUGwaSYX7r5hnLaM92PuZW4mlESatM+HgdIHVn6AOLdrg== 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: Hi Christoph, kernel test robot noticed the following build errors: [auto build test ERROR on next-20250507] [cannot apply to akpm-mm/mm-everything konis-nilfs2/upstream linus/master v6.15-rc5 v6.15-rc4 v6.15-rc3 v6.15-rc5] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Christoph-Hellwig/mm-stop-passing-a-writeback_control-structure-to-shmem_writeout/20250508-144804 base: next-20250507 patch link: https://lore.kernel.org/r/20250508054938.15894-6-hch%40lst.de patch subject: [PATCH 5/7] mm: stop passing a writeback_control structure to swap_writeout config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20250508/202505081941.kyY28sRZ-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250508/202505081941.kyY28sRZ-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202505081941.kyY28sRZ-lkp@intel.com/ All errors (new ones prefixed by >>): mm/vmscan.c: In function 'writeout': >> mm/vmscan.c:670:44: error: passing argument 2 of 'swap_writeout' from incompatible pointer type [-Wincompatible-pointer-types] 670 | res = swap_writeout(folio, plug); | ^~~~ | | | struct swap_iocb ** In file included from mm/vmscan.c:69: mm/swap.h:146:76: note: expected 'struct writeback_control *' but argument is of type 'struct swap_iocb **' 146 | static inline int swap_writeout(struct folio *f, struct writeback_control *wbc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -- mm/shmem.c: In function 'shmem_writeout': >> mm/shmem.c:1644:45: error: passing argument 2 of 'swap_writeout' from incompatible pointer type [-Wincompatible-pointer-types] 1644 | return swap_writeout(folio, plug); | ^~~~ | | | struct swap_iocb ** In file included from mm/shmem.c:44: mm/swap.h:146:76: note: expected 'struct writeback_control *' but argument is of type 'struct swap_iocb **' 146 | static inline int swap_writeout(struct folio *f, struct writeback_control *wbc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ vim +/swap_writeout +670 mm/vmscan.c 654 655 static pageout_t writeout(struct folio *folio, struct address_space *mapping, 656 struct swap_iocb **plug, struct list_head *folio_list) 657 { 658 int res; 659 660 folio_set_reclaim(folio); 661 662 /* 663 * The large shmem folio can be split if CONFIG_THP_SWAP is not enabled 664 * or we failed to allocate contiguous swap entries, in which case 665 * the split out folios get added back to folio_list. 666 */ 667 if (shmem_mapping(mapping)) 668 res = shmem_writeout(folio, plug, folio_list); 669 else > 670 res = swap_writeout(folio, plug); 671 672 if (res < 0) 673 handle_write_error(mapping, folio, res); 674 if (res == AOP_WRITEPAGE_ACTIVATE) { 675 folio_clear_reclaim(folio); 676 return PAGE_ACTIVATE; 677 } 678 679 /* synchronous write? */ 680 if (!folio_test_writeback(folio)) 681 folio_clear_reclaim(folio); 682 683 trace_mm_vmscan_write_folio(folio); 684 node_stat_add_folio(folio, NR_VMSCAN_WRITE); 685 return PAGE_SUCCESS; 686 } 687 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki