Re: [PATCH V7 net-next 1/7] net: hibmcge: Add debugfs supported in this module

From: Jakub Kicinski
Date: Sun Dec 15 2024 - 16:44:56 EST


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
--
pw-bot: cr