From: Dmitry Voytik <voytikd@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org,
Dmitry Voytik <voytikd@gmail.com>
Subject: [PATCH] watchdog: allow WATCHDOG_PRETIMEOUT_GOV_SEL=y
Date: Sun, 4 Oct 2026 23:37:55 +0200 [thread overview]
Message-ID: <20261004213755.554191-1-voytikd@gmail.com> (raw)
Fix the issue when WATCHDOG_PRETIMEOUT_GOV_SEL can't be set to =y,
and always is =m.
The issues can be reproduced with the following steps:
make mrproper
make defconfig
./scripts/config \
-e WATCHDOG_CORE \
-e WATCHDOG_PRETIMEOUT_GOV \
-e WATCHDOG_PRETIMEOUT_GOV_SEL \
--refresh
make olddefconfig
make mod2yesconfig
grep '=m$' .config
returns only CONFIG_WATCHDOG_PRETIMEOUT_GOV_SEL as module:
CONFIG_WATCHDOG_PRETIMEOUT_GOV_SEL=m
"make menuconfig" doesn't let it to be switched from =m to =y either.
Signed-off-by: Dmitry Voytik <voytikd@gmail.com>
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index f7d0a0c2c0ef..712ebfa1c99c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -92,7 +92,7 @@ config WATCHDOG_PRETIMEOUT_GOV
config WATCHDOG_PRETIMEOUT_GOV_SEL
tristate
depends on WATCHDOG_PRETIMEOUT_GOV
- default m
+ default WATCHDOG_CORE
select WATCHDOG_PRETIMEOUT_GOV_PANIC if \
WATCHDOG_PRETIMEOUT_GOV_NOOP=n && WATCHDOG_PRETIMEOUT_GOV_DUMP=n
--
2.55.0
reply other threads:[~2026-10-04 21:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261004213755.554191-1-voytikd@gmail.com \
--to=voytikd@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®