Re: [PATCH] bcachefs: fix typo in reference to BCACHEFS_DEBUG

From: Hongbo Li
Date: Thu Apr 11 2024 - 07:46:26 EST


Thanks, I got it!

On 2024/4/11 18:21, Dan Carpenter wrote:
On Thu, Apr 11, 2024 at 05:21:05PM +0800, Hongbo Li wrote:
Also, I am curious why such spelling errors cannot be detected at the
compilation stage.


The IS_ENABLED() macro is testing whether the define exists or not.
In this case both "CONFIG_BCACHEFS_DEBUG" and "CONFIG_BCACHEFS_DEBU" do
not exist for this config.

Lukas's scripts make a list of macros we expect to exist and then checks
against the list.

regards,
dan carpenter