Patch "jbd2: fix sphinx kernel-doc build warnings" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
jbd2: fix sphinx kernel-doc build warnings
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
jbd2-fix-sphinx-kernel-doc-build-warnings.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
f69120ce6c024aa634a8fc25787205e42f0ccbe6Mon Sep 17 00:00:00 2001
From: "Tobin C. Harding" <[email protected]>
Date: Wed, 10 Jan 2018 00:27:29 -0500
Subject: jbd2: fix sphinx kernel-doc build warnings
From: Tobin C. Harding <[email protected]>
commit f69120ce6c024aa634a8fc25787205e42f0ccbe6 upstream.
Sphinx emits various (26) warnings when building make target 'htmldocs'. Currently struct definitions contain 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). Add documentation for missing struct members and function arguments.
--- fs/jbd2/transaction.c | 5 include/linux/jbd2.h | 431 +++++++++++++++++++++++++++++++------------------- 2 files changed, 272 insertions(+), 164 deletions(-)
fs/jbd2/transaction.c +4 -1
@@ -488,8 +488,10 @@ void jbd2_journal_free_reserved(handle_tEXPORT_SYMBOL (jbd2_journal_free_reserved);/** -* int jbd2_journal_start_reserved(handle_t *handle) - start reserved handle +* int jbd2_journal_start_reserved() - start reserved handle * @handle: handle to start +* @type: for handle statistics +* @line_no: for handle statistics * * Start handle that has been previously reserved with jbd2_journal_reserve(). * This attaches @handle to the running transaction (or creates one if there's
@@ -619,6 +621,7 @@ error_out:* int jbd2_journal_restart() - restart a handle . * @handle: handle to restart * @nblocks: nr credits requested +* @gfp_mask: memory allocation flags (for start_this_handle) * * Restart a handle for a multi-transaction filesystem * operation.
include/linux/jbd2.h +268 -163
651 lines not on this page · raw message
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/jbd2-fix-sphinx-kernel-doc-build-warnings.patch