[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cedafaa6-5507-41d3-bd1e-a8964b8630ba@huawei.com>
Date: Thu, 11 Apr 2024 19:44:56 +0800
From: Hongbo Li <lihongbo22@...wei.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
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
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
>
Powered by blists - more mailing lists