Re: [kbuild-all] Re: include/linux/atomic/atomic-arch-fallback.h:60:32: error: implicit declaration of function 'arch_cmpxchg64'; did you mean 'arch_cmpxchg'?
From: Mark Rutland
Date: Tue Sep 14 2021 - 06:34:23 EST
On Tue, Sep 14, 2021 at 08:39:36AM +0800, Chen, Rong A wrote:
>
>
> On 9/13/2021 4:57 PM, Mark Rutland wrote:
> > On Sun, Sep 12, 2021 at 04:24:21AM +0800, kernel test robot wrote:
> > > Hi Mark,
> > >
> > > FYI, the error/warning still remains.
> >
> > As pointed out previously [1,2], this is an existing bug (in that arc
> > does not have an implementation of cmpxchg64(), but it's possible to
> > select code which uses it in test configurations). My changes to the
> > core atomic headers only change the way in which the error manifests,
> > and have nothing to do with the underlying problem.
> >
> > I thought we were going to stop reporting this [3]?
>
> Hi Mark,
>
> Thanks for the feedback, we only ignored the below one:
>
> include/linux/atomic-arch-fallback.h:60:32: error: implicit declaration of
> function 'arch_cmpxchg64'; did you mean 'arch_cmpxchg'?
> [-Werror=implicit-function-declaration]
>
> we'll update the pattern to ignore all.
Thanks; much appreciated! :)
Mark.