[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zj7do9o265Rrm1HD@yujie-X299>
Date: Sat, 11 May 2024 10:53:23 +0800
From: Yujie Liu <yujie.liu@...el.com>
To: "Paul E. McKenney" <paulmck@...nel.org>
CC: kernel test robot <lkp@...el.com>, Frederic Weisbecker
<frederic@...nel.org>, <oe-kbuild-all@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>, Boqun Feng <boqun.feng@...il.com>, "Joel
Fernandes (Google)" <joel@...lfernandes.org>
Subject: Re: ERROR: modpost: vmlinux: local symbol
'rcu_set_jiffies_lazy_flush' was exported
On Fri, May 10, 2024 at 12:09:02PM -0700, Paul E. McKenney wrote:
> On Sat, May 11, 2024 at 02:53:06AM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: f4345f05c0dfc73c617e66f3b809edb8ddd41075
> > commit: 499d7e7e83d25fcf0fa1a8c0be6857a84cbf6a4a rcu: Rename jiffies_till_flush to jiffies_lazy_flush
> > date: 3 months ago
> > config: riscv-randconfig-r021-20230817 (https://download.01.org/0day-ci/archive/20240511/202405110230.vcpgN5vz-lkp@intel.com/config)
> > compiler: riscv32-linux-gcc (GCC) 13.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240511/202405110230.vcpgN5vz-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@...el.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202405110230.vcpgN5vz-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>, old ones prefixed by <<):
> >
> > >> ERROR: modpost: vmlinux: local symbol 'rcu_set_jiffies_lazy_flush' was exported
> > >> ERROR: modpost: vmlinux: local symbol 'rcu_get_jiffies_lazy_flush' was exported
>
> These do not look to me to be local:
>
> void rcu_set_jiffies_lazy_flush(unsigned long jif)
> {
> jiffies_lazy_flush = jif;
> }
> EXPORT_SYMBOL(rcu_set_jiffies_lazy_flush);
>
> unsigned long rcu_get_jiffies_lazy_flush(void)
> {
> return jiffies_lazy_flush;
> }
> EXPORT_SYMBOL(rcu_get_jiffies_lazy_flush);
>
> What am I missing here?
Sorry this is a false positive. We will fix the bot to handle
this case correctly.
Thanks,
Yujie
Powered by blists - more mailing lists