Re: [PATCH v2] lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS

From: Julian Braha
Date: Mon Mar 29 2021 - 12:33:36 EST


On Sunday, March 28, 2021 5:04:08 AM EDT you wrote:
> On Mär 28 2021, Julian Braha wrote:
>
> > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> > index 2779c29d9981..8d53ed423899 100644
> > --- a/lib/Kconfig.debug
> > +++ b/lib/Kconfig.debug
> > @@ -1665,7 +1665,7 @@ config LATENCYTOP
> > depends on DEBUG_KERNEL
> > depends on STACKTRACE_SUPPORT
> > depends on PROC_FS
> > - select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
> > + select FRAME_POINTER if MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86
>
> That doesn't look correct. It reverses the condition without reversing
> the result, which means the result is probably the opposite than intended.
>
> The same expression occurs two more times in this file. Do those need
> to be changed as well?
>
> Andreas.
>
>

Hi all,

This was a mistake - I'll resubmit the proper patch.
Also: yes, the other usages of this select expression in this file
will cause more unmet dependency bugs.
I'll include those in the resubmission as well.

- Julian Braha