[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a6c4d8d4-bbc3-49d2-9d8d-90398c8231e1@huawei.com>
Date: Mon, 16 Dec 2024 11:21:15 +0800
From: Jijie Shao <shaojijie@...wei.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: <shaojijie@...wei.com>, <davem@...emloft.net>, <edumazet@...gle.com>,
<pabeni@...hat.com>, <andrew+netdev@...n.ch>, <horms@...nel.org>,
<gregkh@...uxfoundation.org>, <shenjian15@...wei.com>,
<wangpeiyang1@...wei.com>, <liuyonglong@...wei.com>, <chenhao418@...wei.com>,
<sudongming1@...wei.com>, <xujunsheng@...wei.com>, <shiyongbang@...wei.com>,
<libaihan@...wei.com>, <jonathan.cameron@...wei.com>,
<shameerali.kolothum.thodi@...wei.com>, <salil.mehta@...wei.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<hkelam@...vell.com>
Subject: Re: [PATCH V7 net-next 1/7] net: hibmcge: Add debugfs supported in
this module
on 2024/12/16 5:44, Jakub Kicinski wrote:
> On Thu, 12 Dec 2024 22:23:28 +0800 Jijie Shao wrote:
>> +#define str_true_false(state) ((state) ? "true" : "false")
> Didn't notice until I started applying this..
> str_true_false() is an existing helper:
> https://elixir.bootlin.com/linux/v6.13-rc2/source/include/linux/string_choices.h#L68
It seems that this header file provides a lot of useful helpers, I will send v8 to use them.
Thanks,
Jijie Shao
Powered by blists - more mailing lists