From: Yun Levi <ppbuk5246@gmail.com>
To: kernel test robot <lkp@intel.com>
Cc: sj@kernel.org, akpm@linux-foundation.org,
oe-kbuild-all@lists.linux.dev, damon@lists.linux.dev,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] damon: Use pmdp_get instead of drect dereferencing pmd.
Date: Fri, 28 Jul 2023 09:18:24 +0100 [thread overview]
Message-ID: <CAM7-yPS6Ob0pcMpTc=Lirw5WARgAgGcRzO-iosf19dzEmAf1wQ@mail.gmail.com> (raw)
In-Reply-To: <202307281532.pVsrTsL2-lkp@intel.com>
This build warning is fixed in v2:
https://lore.kernel.org/all/20230727212157.2985025-1-ppbuk5246@gmail.com/
On Fri, Jul 28, 2023 at 9:09 AM kernel test robot <lkp@intel.com> wrote:
>
> Hi Levi,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on akpm-mm/mm-everything]
> [also build test WARNING on linus/master v6.5-rc3 next-20230728]
> [cannot apply to sj/damon/next]
> [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/Levi-Yun/damon-Use-pmdp_get-instead-of-drect-dereferencing-pmd/20230728-024044
> base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
> patch link: https://lore.kernel.org/r/20230727183745.682880-1-ppbuk5246%40gmail.com
> patch subject: [PATCH] damon: Use pmdp_get instead of drect dereferencing pmd.
> config: i386-randconfig-i016-20230727 (https://download.01.org/0day-ci/archive/20230728/202307281532.pVsrTsL2-lkp@intel.com/config)
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281532.pVsrTsL2-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/202307281532.pVsrTsL2-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> mm/damon/vaddr.c: In function 'damon_young_pmd_entry':
> >> mm/damon/vaddr.c:440:15: warning: unused variable 'pmde' [-Wunused-variable]
> 440 | pmd_t pmde;
> | ^~~~
>
>
> vim +/pmde +440 mm/damon/vaddr.c
>
> 434
> 435 static int damon_young_pmd_entry(pmd_t *pmd, unsigned long addr,
> 436 unsigned long next, struct mm_walk *walk)
> 437 {
> 438 pte_t *pte;
> 439 pte_t ptent;
> > 440 pmd_t pmde;
> 441 spinlock_t *ptl;
> 442 struct folio *folio;
> 443 struct damon_young_walk_private *priv = walk->private;
> 444
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
>
prev parent reply other threads:[~2023-07-28 8:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-27 18:37 Levi Yun
2023-07-27 19:54 ` SeongJae Park
2023-07-27 21:15 ` Yun Levi
2023-07-28 8:08 ` kernel test robot
2023-07-28 8:18 ` Yun Levi [this message]
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='CAM7-yPS6Ob0pcMpTc=Lirw5WARgAgGcRzO-iosf19dzEmAf1wQ@mail.gmail.com' \
--to=ppbuk5246@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=damon@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sj@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox