[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aQucyOYwv28Rbzrl@smile.fi.intel.com>
Date: Wed, 5 Nov 2025 20:51:52 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Jonathan Corbet <corbet@....net>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH v1 1/1] kernel-doc: Issue warnings that were silently
discarded
On Wed, Nov 05, 2025 at 11:12:18AM -0700, Jonathan Corbet wrote:
> [Heads up to Stephen: this change will add a bunch of warnings that had
> been dropped before.]
>
> Andy Shevchenko <andriy.shevchenko@...ux.intel.com> writes:
>
> > When kernel-doc parses the sections for the documentation some errors
> > may occur. In many cases the warning is simply stored to the current
> > "entry" object. However, in the most of such cases this object gets
> > discarded and there is no way for the output engine to even know about
> > that. To avoid that, check if the "entry" is going to be discarded and
> > if there warnings have been collected, issue them to the current logger
> > as is and then flush the "entry". This fixes the problem that original
> > Perl implementation doesn't have.
>
> I would really like to redo how some of that logging is done, but that
> is an exercise for another day. For now, I have applied this one,
> thanks.
Thank you!
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists