[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6d90387-7892-4c28-9855-ae35faacfe9c@moroto.mountain>
Date: Thu, 11 Apr 2024 13:21:22 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Hongbo Li <lihongbo22@...wei.com>
Cc: Lukas Bulwahn <lbulwahn@...hat.com>,
Kent Overstreet <kent.overstreet@...ux.dev>,
Brian Foster <bfoster@...hat.com>, linux-bcachefs@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
Lukas Bulwahn <lukas.bulwahn@...hat.com>
Subject: Re: [PATCH] bcachefs: fix typo in reference to BCACHEFS_DEBUG
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
Powered by blists - more mailing lists