cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro

From fe2ceb7c4365112055ecfc3bbf68ad47330b744d Mon Sep 17 00:00:00 2001 From: Pavel Korotkevich pawday@mail.ru Date: Sun, 6 Aug 2023 02:00:41 +0300 Subject: [PATCH] cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro
--- include/cli.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/cli.h b/include/cli.h index 094a6602d7..d6dbbde070 100644 --- a/include/cli.h +++ b/include/cli.h @@ -9,6 +9,8 @@
#include <stdbool.h>
+#include <linux/kconfig.h> + /** * struct cli_ch_state - state information for reading cmdline characters *

On 8/5/23 19:32, Pavel Korotkevich wrote:
From fe2ceb7c4365112055ecfc3bbf68ad47330b744d Mon Sep 17 00:00:00 2001 From: Pavel Korotkevich pawday@mail.ru Date: Sun, 6 Aug 2023 02:00:41 +0300 Subject: [PATCH] cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro
Please add a suitable commit message and use `git send-email` (or similar) to send your patches.
--Sean
include/cli.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/cli.h b/include/cli.h index 094a6602d7..d6dbbde070 100644 --- a/include/cli.h +++ b/include/cli.h @@ -9,6 +9,8 @@
#include <stdbool.h>
+#include <linux/kconfig.h>
/** * struct cli_ch_state - state information for reading cmdline characters *

On Wed, Nov 01, 2023 at 02:32:06PM -0400, Sean Anderson wrote:
On 8/5/23 19:32, Pavel Korotkevich wrote:
From fe2ceb7c4365112055ecfc3bbf68ad47330b744d Mon Sep 17 00:00:00 2001 From: Pavel Korotkevich pawday@mail.ru Date: Sun, 6 Aug 2023 02:00:41 +0300 Subject: [PATCH] cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro
Please add a suitable commit message and use `git send-email` (or similar) to send your patches.
--Sean
include/cli.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/cli.h b/include/cli.h index 094a6602d7..d6dbbde070 100644 --- a/include/cli.h +++ b/include/cli.h @@ -9,6 +9,8 @@
#include <stdbool.h>
+#include <linux/kconfig.h>
This is a hard NAK, that file is -included by the build.
participants (3)
-
Pavel Korotkevich
-
Sean Anderson
-
Tom Rini