From: Wolfram Sang <w.sang@pengutronix.de>
To: Wim Van Sebroeck <wim@iguana.be>
Cc: Marc Vertes <marc.vertes@sigfox.com>,
linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org,
Dimitry Andric <dimitry.andric@tomtom.com>,
Ben Dooks <ben@simtec.co.uk>
Subject: Re: [PATCH] watchdog: fix nowayout setting in s3c2410_wdt
Date: Tue, 29 Nov 2011 11:21:37 +0100 [thread overview]
Message-ID: <20111129102136.GB5455@pengutronix.de> (raw)
In-Reply-To: <20111129095643.GH23376@infomag.iguana.be>
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
> +/* Use the following function to set the nowayout feature */
> +static inline void watchdog_set_nowayout(struct watchdog_device *wdd, int nowayout)
> +{
> + if (nowayout)
> + set_bit(WDOG_NO_WAY_OUT, &wdd->status);
> +}
Yes, this is better in case we might need to add something later.
> but: .status = WATCHDOG_NOWAYOUT_INIT_STATUS, is also a nice one to have.
>
> I propose to add both options and to document them in the documentation.
> Objections anyone?
Sounds good to me.
So, I'll drop NOWAYOUT-related patches from my STMP-series?
Thanks,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-11-29 10:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-25 23:38 Marc Vertes
2011-11-26 10:29 ` Wolfram Sang
2011-11-29 9:56 ` Wim Van Sebroeck
2011-11-29 10:21 ` Wolfram Sang [this message]
2011-11-29 10:44 ` Wim Van Sebroeck
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=20111129102136.GB5455@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=ben@simtec.co.uk \
--cc=dimitry.andric@tomtom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=marc.vertes@sigfox.com \
--cc=wim@iguana.be \
/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®