From: kernel test robot <lkp@intel.com>
To: jason.zeng@intel.com, lin.x.wang@intel.com, pei.p.jia@intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [bytedance:5.15-velinux 0/1] mm/memory.c:1718: warning: Function parameter or member 'details' not described in 'zap_page_range'
Date: Fri, 9 May 2025 03:44:54 +0800 [thread overview]
Message-ID: <202505090306.oT2DMZMX-lkp@intel.com> (raw)
Hi Qi,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://github.com/bytedance/kernel.git 5.15-velinux
head: de277dab626c9ece4c9cf99ec9c56f23b298a042
commit: 41aa13e68be21943e440b9f8df819ce65301fd26 [0/1] bytedance: add details parameter for zap_page_range()
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20250509/202505090306.oT2DMZMX-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090306.oT2DMZMX-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/202505090306.oT2DMZMX-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/memory.c:1718: warning: Function parameter or member 'details' not described in 'zap_page_range'
vim +1718 mm/memory.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 1707
^1da177e4c3f415 Linus Torvalds 2005-04-16 1708 /**
^1da177e4c3f415 Linus Torvalds 2005-04-16 1709 * zap_page_range - remove user pages in a given range
^1da177e4c3f415 Linus Torvalds 2005-04-16 1710 * @vma: vm_area_struct holding the applicable pages
eb4546bbbdb160a Randy Dunlap 2012-06-20 1711 * @start: starting address of pages to zap
^1da177e4c3f415 Linus Torvalds 2005-04-16 1712 * @size: number of bytes to zap
f5cc4eef9987d0b Al Viro 2012-03-05 1713 *
f5cc4eef9987d0b Al Viro 2012-03-05 1714 * Caller must protect the VMA list
^1da177e4c3f415 Linus Torvalds 2005-04-16 1715 */
7e027b14d53e972 Linus Torvalds 2012-05-06 1716 void zap_page_range(struct vm_area_struct *vma, unsigned long start,
41aa13e68be2194 Qi Zheng 2025-04-01 1717 unsigned long size, struct zap_details *details)
^1da177e4c3f415 Linus Torvalds 2005-04-16 @1718 {
ac46d4f3c43241f Jérôme Glisse 2018-12-28 1719 struct mmu_notifier_range range;
d16dfc550f5326a Peter Zijlstra 2011-05-24 1720 struct mmu_gather tlb;
^1da177e4c3f415 Linus Torvalds 2005-04-16 1721
^1da177e4c3f415 Linus Torvalds 2005-04-16 1722 lru_add_drain();
7269f999934b289 Jérôme Glisse 2019-05-13 1723 mmu_notifier_range_init(&range, MMU_NOTIFY_CLEAR, 0, vma, vma->vm_mm,
6f4f13e8d9e27ce Jérôme Glisse 2019-05-13 1724 start, start + size);
a72afd873089c69 Will Deacon 2021-01-27 1725 tlb_gather_mmu(&tlb, vma->vm_mm);
ac46d4f3c43241f Jérôme Glisse 2018-12-28 1726 update_hiwater_rss(vma->vm_mm);
ac46d4f3c43241f Jérôme Glisse 2018-12-28 1727 mmu_notifier_invalidate_range_start(&range);
ac46d4f3c43241f Jérôme Glisse 2018-12-28 1728 for ( ; vma && vma->vm_start < range.end; vma = vma->vm_next)
41aa13e68be2194 Qi Zheng 2025-04-01 1729 unmap_single_vma(&tlb, vma, start, range.end, details);
ac46d4f3c43241f Jérôme Glisse 2018-12-28 1730 mmu_notifier_invalidate_range_end(&range);
ae8eba8b5d723a4 Will Deacon 2021-01-27 1731 tlb_finish_mmu(&tlb);
^1da177e4c3f415 Linus Torvalds 2005-04-16 1732 }
^1da177e4c3f415 Linus Torvalds 2005-04-16 1733
:::::: The code at line 1718 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-05-08 19:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-08 19:44 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-26 15:37 [bytedance:5.15-velinux 0/1] mm/memory.c:1718: warning: Function parameter or member 'details' not described in 'zap_page_range' kernel test robot
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=202505090306.oT2DMZMX-lkp@intel.com \
--to=lkp@intel.com \
--cc=jason.zeng@intel.com \
--cc=lin.x.wang@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pei.p.jia@intel.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.