Thread (6 messages) 6 messages, 3 authors, 2022-07-19

Re: [PATCH] NFSD: Remove CONFIG_SUNRPC_GSS_MODULE

From: Christoph Hellwig <hch@infradead.org>
Date: 2022-07-19 14:42:31

On Tue, Jul 19, 2022 at 01:27:51PM +0000, Chuck Lever III wrote:
quoted
CONFIG_SUNRPC_GSS_MODULE is set if SUNRPC_GSS is built as a module.
CONFIG_*_MODULE is Kconfig-generated magic.
I can drop this patch, but I still have questions (and I know you are
just the messenger, you might not know the answers).

Where is this convention documented?

When would CONFIG_SUNRPC_GSS_MODULE be defined but CONFIG_SUNRPC_GSS isn't?
If .config has CONFIG_SUNRPC_GSS=y, CONFIG_SUNRPC_GSS is set, but
CONFIG_SUNRPC_GSS_MODULE is not.

If .config has CONFIG_SUNRPC_GSS=m, CONFIG_SUNRPC_GSS_MODULE is set,
but CONFIG_SUNRPC_GSS is not.

As Anna said these days we have the IS_ENABLED helper to mostly hide
this.

I have no idea if this is documented anywhere.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help