[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aCyQIwBnSiPLPrDo@smile.fi.intel.com>
Date: Tue, 20 May 2025 17:22:27 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Jonathan Corbet <corbet@....net>, Akira Yokosawa <akiyks@...il.com>,
Nicolas Schier <nicolas.schier@...ux.dev>,
Randy Dunlap <rdunlap@...radead.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Kees Cook <kees@...nel.org>, linux-doc@...r.kernel.org,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] docs: kerneldoc.py: add try/except blocks for
kernel-doc class errors
On Tue, May 20, 2025 at 03:33:08PM +0200, Mauro Carvalho Chehab wrote:
> Replicate the same behavior as what's done with kernel-doc.pl:
> continue building docs even when there are exceptions.
...
> + logger.warning("kernel-doc '%s' processing failed with: %s" %
> + (cmd_str(cmd), str(e)))
> + logger.warning("kernel-doc '%s' processing failed with: %s" %
> + (cmd_str(cmd), str(e)))
The prefix of the message is the same for different (semantically) places.
Is it okay? (I would expect them to slightly differ, but I dunno if
cmd here is the same, perhaps that's enough for distinguishing the two.)
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists