linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: correct kernel-doc inconsistency
@ 2020-07-07  4:42 Colton Lewis
  2020-07-07  5:13 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Colton Lewis @ 2020-07-07  4:42 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, Colton Lewis

Silence documentation build warning by correcting kernel-doc comment
for file_sample_sub_err function.

./include/linux/fs.h:2839: warning: Function parameter or member 'file' not described in 'file_sample_sb_err'
./include/linux/fs.h:2839: warning: Excess function parameter 'mapping' description in 'file_sample_sb_err'

Signed-off-by: Colton Lewis <colton.w.lewis@protonmail.com>
---
 include/linux/fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 3f881a892ea7..15f430c800dc 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2827,7 +2827,7 @@ static inline errseq_t filemap_sample_wb_err(struct address_space *mapping)
 
 /**
  * file_sample_sb_err - sample the current errseq_t to test for later errors
- * @mapping: mapping to be sampled
+ * @file: file to be sampled
  *
  * Grab the most current superblock-level errseq_t value for the given
  * struct file.
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fs: correct kernel-doc inconsistency
  2020-07-07  4:42 [PATCH] fs: correct kernel-doc inconsistency Colton Lewis
@ 2020-07-07  5:13 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2020-07-07  5:13 UTC (permalink / raw)
  To: Colton Lewis, viro; +Cc: linux-fsdevel

On 7/6/20 9:42 PM, Colton Lewis wrote:
> Silence documentation build warning by correcting kernel-doc comment
> for file_sample_sub_err function.
> 
> ./include/linux/fs.h:2839: warning: Function parameter or member 'file' not described in 'file_sample_sb_err'
> ./include/linux/fs.h:2839: warning: Excess function parameter 'mapping' description in 'file_sample_sb_err'
> 
> Signed-off-by: Colton Lewis <colton.w.lewis@protonmail.com>

Hi,
This is already fixed in linux-next.
You should check linux-next for anything that could already have patches
available but that have not been merged into mainline yet.

> ---
>  include/linux/fs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/fs.h b/include/linux/fs.h
> index 3f881a892ea7..15f430c800dc 100644
> --- a/include/linux/fs.h
> +++ b/include/linux/fs.h
> @@ -2827,7 +2827,7 @@ static inline errseq_t filemap_sample_wb_err(struct address_space *mapping)
>  
>  /**
>   * file_sample_sb_err - sample the current errseq_t to test for later errors
> - * @mapping: mapping to be sampled
> + * @file: file to be sampled
>   *
>   * Grab the most current superblock-level errseq_t value for the given
>   * struct file.
> 


thanks.
-- 
~Randy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-07  5:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07  4:42 [PATCH] fs: correct kernel-doc inconsistency Colton Lewis
2020-07-07  5:13 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).