Re: [PATCH v14 3/7] crash: add generic infrastructure for crash hotplug support

From: Baoquan He
Date: Wed Dec 07 2022 - 08:59:10 EST


On 12/07/22 at 01:42pm, Borislav Petkov wrote:
> On Wed, Dec 07, 2022 at 08:36:13PM +0800, Baoquan He wrote:
> > Below is my last reply to Eric about my thinking on this.
>
> Yes, I saw that.
>
> So think about it: if a CONFIG_ item is not present, what does that mean
> for the code which is enclosed around it?

Ignored by compiler.

I thought we usually need to introduce the kernel config option, then
add code related to it, so that is a wrong idea. It would be helpful to
tell this somewhere in document.