Re: Non-existing CONFIG_ options are used in source code

From: Michael Büsch
Date: Fri Dec 01 2023 - 13:10:32 EST


On Mon, 13 Nov 2023 20:52:03 -0800
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> On 9/13/23 02:29, sunying@xxxxxxxxxxxxxxxx wrote:
> > The following configuration options are not defined
> > (they may have been deleted or not yet added)
> > but are used in the source files.
> >
> > Is there something in these that might need fixing?
> >
> > ===============================================
> > 1. CONFIG_NETFS_DEBUG
> > fs/netfs/internal.h:122:#elif defined(CONFIG_NETFS_DEBUG)
> >
> > 2. CONFIG_SSB_DEBUG
> > include/linux/ssb/ssb.h:626:#ifdef CONFIG_SSB_DEBUG
> >
> > 3. CONFIG_CRYPTO_DEV_ASPEED_HACE_CRYPTO_DEBUG
> > drivers/crypto/aspeed/aspeed-hace-crypto.c:19:#ifdef
> > CONFIG_CRYPTO_DEV_ASPEED_HACE_CRYPTO_DEBUG
> > ===============================================
>
> Yes, please send separate patches to remove each of them.

I agree for CONFIG_SSB_DEBUG.

The function __ssb_dma_not_implemented() where CONFIG_SSB_DEBUG is used
can be removed and the switch-default where __ssb_dma_not_implemented()
is called can also be removed.

--
Michael Büsch
https://bues.ch/

Attachment: pgpXIC6RS5xyR.pgp
Description: OpenPGP digital signature