From d3240061db865227dfb3ec8b69f6719b14e9adb4 Mon Sep 17 00:00:00 2001 From: chao an Date: Mon, 8 May 2023 21:46:32 +0800 Subject: [PATCH] syslog/Kconfig: fix kconfig warning warning: The int symbol SYSLOG_RPMSG_WORK_DELAY (defined at drivers/syslog/Kconfig:274) is being evaluated in a logical context somewhere. It will always evaluate to n. make: *** [tools/Unix.mk:663: olddefconfig] Error 1 Signed-off-by: chao an --- drivers/syslog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/syslog/Kconfig b/drivers/syslog/Kconfig index 197019b856..ffc72db3e3 100644 --- a/drivers/syslog/Kconfig +++ b/drivers/syslog/Kconfig @@ -277,7 +277,7 @@ config SYSLOG_RPMSG_WORK_DELAY config SYSLOG_RPMSG_CHARDEV bool "SYSLOG rpmsg character device" - default !SYSLOG_RPMSG_WORK_DELAY + default SYSLOG_RPMSG_WORK_DELAY != 0 endif # SYSLOG_RPMSG