From: Barry Song <21cnbao@gmail.com>
To: lkp@intel.com
Cc: 21cnbao@gmail.com, akpm@linux-foundation.org, baohua@kernel.org,
bhe@redhat.com, chrisl@kernel.org, kasong@tencent.com,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
llvm@lists.linux.dev, nphamcs@gmail.com,
oe-kbuild-all@lists.linux.dev, shikemeng@huaweicloud.com,
youngjun.park@lge.com
Subject: Re: [PATCH v2 2/3] mm/swap: use swap_ops to register swap device's methods
Date: Sun, 29 Mar 2026 19:44:18 +0800 [thread overview]
Message-ID: <20260329114418.39732-1-21cnbao@gmail.com> (raw)
In-Reply-To: <202603291844.TWh2Ellp-lkp@intel.com>
On Sun, Mar 29, 2026 at 6:49 PM kernel test robot <lkp@intel.com> wrote:
>
> Hi Barry,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on akpm-mm/mm-everything]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Barry-Song/mm-swap-rename-mm-page_io-c-to-mm-swap_io-c/20260328-170852
> base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
> patch link: https://lore.kernel.org/r/20260328075812.11060-3-21cnbao%40gmail.com
> patch subject: [PATCH v2 2/3] mm/swap: use swap_ops to register swap device's methods
> config: arm-randconfig-001-20260329 (https://download.01.org/0day-ci/archive/20260329/202603291844.TWh2Ellp-lkp@intel.com/config)
> compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 054e11d1a17e5ba88bb1a8ef32fad3346e80b186)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260329/202603291844.TWh2Ellp-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 <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202603291844.TWh2Ellp-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> mm/zswap.c:1057:19: error: use of undeclared identifier 'sis'; did you mean 'si'?
> 1057 | VM_WARN_ON_ONCE(!sis->ops || !sis->ops->write_folio);
> | ^~~
> | si
> include/linux/mmdebug.h:133:52: note: expanded from macro 'VM_WARN_ON_ONCE'
> 133 | #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond)
> | ^~~~
> include/linux/build_bug.h:30:63: note: expanded from macro 'BUILD_BUG_ON_INVALID'
> 30 | #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
> | ^
> mm/zswap.c:995:27: note: 'si' declared here
> 995 | struct swap_info_struct *si;
> | ^
> mm/zswap.c:1057:32: error: use of undeclared identifier 'sis'; did you mean 'si'?
> 1057 | VM_WARN_ON_ONCE(!sis->ops || !sis->ops->write_folio);
> | ^~~
> | si
Deeply sorry for the last-minute edit—I fat-fingered it.
It should be si, not sis. My sincere apologies.
diff --git a/mm/zswap.c b/mm/zswap.c
index 9bacb1733e1c..b60821758169 100644
--- a/mm/zswap.c
+++ b/mm/zswap.c
@@ -1054,7 +1054,7 @@ static int zswap_writeback_entry(struct zswap_entry *entry,
folio_set_reclaim(folio);
/* start writeback */
- VM_WARN_ON_ONCE(!sis->ops || !sis->ops->write_folio);
+ VM_WARN_ON_ONCE(!si->ops || !si->ops->write_folio);
si->ops->write_folio(si, folio, NULL);
out:
--
Best Regards
Barry
next prev parent reply other threads:[~2026-03-29 11:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-28 7:58 [PATCH v2 0/3] mm/swap: use swap_ops to register swap device's methods Barry Song
2026-03-28 7:58 ` [PATCH v2 1/3] mm/swap: rename mm/page_io.c to mm/swap_io.c Barry Song
2026-03-29 14:31 ` Chris Li
2026-03-28 7:58 ` [PATCH v2 2/3] mm/swap: use swap_ops to register swap device's methods Barry Song
2026-03-29 10:49 ` kernel test robot
2026-03-29 11:44 ` Barry Song [this message]
2026-03-29 11:10 ` kernel test robot
2026-03-31 3:30 ` Chris Li
2026-03-31 9:21 ` Barry Song
2026-03-31 16:10 ` Chris Li
2026-04-08 6:11 ` Baoquan He
2026-04-08 9:26 ` Chris Li
2026-04-08 15:45 ` Baoquan He
2026-04-08 16:27 ` Chris Li
2026-03-28 7:58 ` [PATCH v2 3/3] mm/swap_io.c: rename swap_writepage_* to swap_write_folio_* Barry Song
2026-03-29 14:31 ` Chris Li
2026-03-30 0:54 ` [PATCH v2 0/3] mm/swap: use swap_ops to register swap device's methods Baoquan He
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260329114418.39732-1-21cnbao@gmail.com \
--to=21cnbao@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=baohua@kernel.org \
--cc=bhe@redhat.com \
--cc=chrisl@kernel.org \
--cc=kasong@tencent.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=nphamcs@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=shikemeng@huaweicloud.com \
--cc=youngjun.park@lge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.