From: "Paul Louvel" <paul.louvel@bootlin.com>
To: "Tzung-Bi Shih" <tzungbi@kernel.org>,
"Paul Louvel" <paul.louvel@bootlin.com>
Cc: "Wim Van Sebroeck" <wim@linux-watchdog.org>,
"Guenter Roeck" <linux@roeck-us.net>,
<linux-watchdog@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v3 6/6] watchdog: w83627hf_wdt: Report all initialization failures in probe
Date: Fri, 09 Oct 2026 16:16:31 +0200 [thread overview]
Message-ID: <DM0DDSTMFXRZ.29S5EXLMD7MHH@bootlin.com> (raw)
In-Reply-To: <asUE9eMeey5C42L4@google.com>
On Tue Oct 6, 2026 at 4:25 PM CEST, Tzung-Bi Shih wrote:
> On Sun, Oct 04, 2026 at 02:12:54PM +0200, Paul Louvel wrote:
>> @@ -549,12 +549,12 @@ static int wdt_probe(struct platform_device *pdev)
>> }
>>
>> if (ret)
>> - return ret;
>> + return dev_err_probe(dev, ret, "failed to set watchdog timeout\n");
>> }
>>
>> ret = devm_watchdog_register_device(dev, wdd);
>> if (ret)
>> - return ret;
>> + return dev_err_probe(dev, ret, "failed to register watchdog\n");
>
> Could this patch be split and squashed into the earlier patches in the
> series?
Sure.
Thanks,
--
Paul Louvel, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
text:
Return-Path: <paul.louvel@bootlin.com>
Delivered-To: paul.louvel@bootlin.com
Received: from mail.galae.net ([172.22.1.253])
by 9e7fea892943 with LMTP
id 8JqdGEP3yGoblikAtaWaaQ
(envelope-from <paul.louvel@bootlin.com>)
for <paul.louvel@bootlin.com>; Fri, 09 Oct 2026 16:16:35 +0200
X-Original-To: paul.louvel@bootlin.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7709111D70695;
Fri, 9 Oct 2026 16:16:32 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;
t\x1791555394; h=from:subject:date:message-id:to:cc:mime-version:content-type:
content-transfer-encoding:in-reply-to:references;
bh=+6RbIlULZXUp8nBwvQCiDE791qoyPgtSl8eRr5UTXE0=;
b=TqowhqpHs1FQoD3nipGC2madeVxQD3oc3Ng2IpD/U/sSYSKZ3g+vnXGZ4KRn4Re6lyQJ+m
Cp1hBJXMjN8lYN4cARINL6LMT3H0tN/gw3lQr/nkeyna4iwi7cogoExl6UyD88FEFaUwUc
WPPSs94sl4xDd6cAgg7xKZW8ELFldqi9A72hlZ2M3zcC9thyho/hQ8WfY+zcUs3xwQPYSH
l/SDzO6rnpa9bNotmiZ7pi2YXR4If2E0981cxs5vI+WltPymbmIObao11ADXhb8bTnbVXj
7/f+MOesjPFoaqEQCFQe9UgkrT0VtZqVS8FPfCV3K4M/h/K8p7guAcbuq3ATiQ=Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Date: Fri, 09 Oct 2026 16:16:31 +0200
Message-Id: <DM0DDSTMFXRZ.29S5EXLMD7MHH@bootlin.com>
Cc: "Wim Van Sebroeck" <wim@linux-watchdog.org>, "Guenter Roeck"
<linux@roeck-us.net>, <linux-watchdog@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, "Thomas Petazzoni"
<thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v3 6/6] watchdog: w83627hf_wdt: Report all
initialization failures in probe
From: "Paul Louvel" <paul.louvel@bootlin.com>
To: "Tzung-Bi Shih" <tzungbi@kernel.org>, "Paul Louvel"
<paul.louvel@bootlin.com>
X-Mailer: aerc 0.21.0-0-g5549850facc2
References: <20261004-w83627hf_wdt-improvements-v3-0-8e27b518595e@bootlin.com> <20261004-w83627hf_wdt-improvements-v3-6-8e27b518595e@bootlin.com> <asUE9eMeey5C42L4@google.com>
In-Reply-To: <asUE9eMeey5C42L4@google.com>
X-Last-TLS-Session-Version: TLSv1.3
On Tue Oct 6, 2026 at 4:25 PM CEST, Tzung-Bi Shih wrote:
> On Sun, Oct 04, 2026 at 02:12:54PM +0200, Paul Louvel wrote:
>> @@ -549,12 +549,12 @@ static int wdt_probe(struct platform_device *pdev)
>> }
>>
>> if (ret)
>> - return ret;
>> + return dev_err_probe(dev, ret, "failed to set watchdog timeout\n");
>> }
>>
>> ret = devm_watchdog_register_device(dev, wdd);
>> if (ret)
>> - return ret;
>> + return dev_err_probe(dev, ret, "failed to register watchdog\n");
>
> Could this patch be split and squashed into the earlier patches in the
> series?
Sure.
Thanks,
--
Paul Louvel, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2026-10-13 17:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-04 12:12 [PATCH v3 0/6] watchdog: w83627hf_wdt: Convert driver to the driver model and add minute support Paul Louvel
2026-10-04 12:12 ` [PATCH v3 1/6] watchdog: w83627hf_wdt: Replace magic numbers with descriptive macros Paul Louvel
2026-10-06 14:24 ` Tzung-Bi Shih
2026-10-09 14:15 ` Paul Louvel
2026-10-04 12:12 ` [PATCH v3 2/6] watchdog: w83627hf_wdt: Convert to platform driver model Paul Louvel
2026-10-06 14:24 ` Tzung-Bi Shih
2026-10-07 17:05 ` kernel test robot
2026-10-04 12:12 ` [PATCH v3 3/6] watchdog: w83627hf_wdt: Move register offsets into driver data Paul Louvel
2026-10-06 14:25 ` Tzung-Bi Shih
2026-10-09 14:12 ` Paul Louvel
2026-10-04 12:12 ` [PATCH v3 4/6] watchdog: w83627hf_wdt: Store Super I/O configurations in platform data Paul Louvel
2026-10-06 14:25 ` Tzung-Bi Shih
2026-10-09 14:12 ` Paul Louvel
2026-10-04 12:12 ` [PATCH v3 5/6] watchdog: w83627hf_wdt: Add minute mode counting Paul Louvel
2026-10-04 12:12 ` [PATCH v3 6/6] watchdog: w83627hf_wdt: Report all initialization failures in probe Paul Louvel
2026-10-06 14:25 ` Tzung-Bi Shih
2026-10-09 14:16 ` Paul Louvel [this message]
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=DM0DDSTMFXRZ.29S5EXLMD7MHH@bootlin.com \
--to=paul.louvel@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=thomas.petazzoni@bootlin.com \
--cc=tzungbi@kernel.org \
--cc=wim@linux-watchdog.org \
/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®