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