[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190622185844.4b2392a3@coco.lan>
Date: Sat, 22 Jun 2019 18:58:44 -0300
From: Mauro Carvalho Chehab <mchehab+samsung@...nel.org>
To: André Almeida <andrealmeid@...labora.com>
Cc: linux-media@...r.kernel.org, hverkuil@...all.nl,
helen.koike@...labora.com, kernel@...labora.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] media: vimc: stream: add missing function
documentation
Em Sat, 22 Jun 2019 18:51:06 -0300
André Almeida <andrealmeid@...labora.com> escreveu:
> Hello Mauro,
>
> On 6/21/19 6:17 PM, Mauro Carvalho Chehab wrote:
> > Em Mon, 17 Jun 2019 10:32:20 -0300
> > André Almeida <andrealmeid@...labora.com> escreveu:
> >
> >> Add comments at vimc_streamer_s_stream and vimc_streamer_thread, making
> >> the vimc-stream totally documented.
> > I'm applying it right now.
> >
> > Yet, if this is fully documented, IMO you should add it to
> > Documentation/media/v4l-drivers, replacing the comments to kernel-doc
> > markups.
>
> This suggestion is a great improvement and it's simple to apply to the
> source. Where do you believe we can place this at[1]? Maybe something like
>
>
> Source code documentation
> -------------------------
>
> vimc-streamer
> ~~~~~~~~~~~~
>
> .. kernel-doc:: drivers/media/platform/vimc/vimc-streamer.c
> :internal:
>
>
> at the end of the file?
>
Yeah, this should be enough.
> > That would make easier for the ones to read the comments and, if someone
> > changes a function call, warnings will be produced, and the developer
> > will be warned.
> > Thanks,
> > Mauro
>
> Thanks,
> André
>
> [1]
> https://git.linuxtv.org/media_tree.git/tree/Documentation/media/v4l-drivers/vimc.rst
>
Thanks,
Mauro
Powered by blists - more mailing lists