mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: "Tobin C. Harding" <me@tobin.cc>
Cc: Theodore Ts'o <tytso@mit.edu>, Jan Kara <jack@suse.com>,
	linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] jbd2: fix sphinx kerel-doc build warnings for journal_s
Date: Mon, 8 Jan 2018 16:16:04 +0100	[thread overview]
Message-ID: <20180108151604.v4kfq47dc4cpcdxw@quack2.suse.cz> (raw)
In-Reply-To: <1515285974-29373-1-git-send-email-me@tobin.cc>

On Sun 07-01-18 11:46:14, Tobin C. Harding wrote:
> Sphinx emits various warnings when building make target 'htmldocs'.
> 
> Currently struct journal_s definition contains duplicate documentation,
> some as kernel-docs and some as standard c89 comments.  We can reduce
> duplication while cleaning up the kernel-docs. 
> 
> Move all kernel-docs to right above each struct member.  Use the set of
> all existing comments (kernel-doc and c89).
> 
> Signed-off-by: Tobin C. Harding <me@tobin.cc>

This is probably better than having documentation in two places so:

Acked-by: Jan Kara <jack@suse.cz>

Just one nit below:

>  struct journal_s
>  {
> -	/* General journaling state flags [j_state_lock] */
> +	/**
> +	 * @j_flags:
> +	 *
> +	 * General journaling state flags [j_state_lock]
> +	 */

Won't it be possible in cases like this to fold the name and description
into one line? Like:

	/**
	 * @j_flags: General journaling state flags [j_state_lock]
	 */

That would save a lot of vertical space...

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

  reply	other threads:[~2018-01-08 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07  0:46 Tobin C. Harding
2018-01-08 15:16 ` Jan Kara [this message]
2018-01-08 20:32   ` Tobin C. Harding

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=20180108151604.v4kfq47dc4cpcdxw@quack2.suse.cz \
    --to=jack@suse.cz \
    --cc=jack@suse.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=me@tobin.cc \
    --cc=tytso@mit.edu \
    /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®