Skip to content

Commit

Permalink
mm: swap: fix kerneldoc of swap_vma_readahead()
Browse files Browse the repository at this point in the history
Fix W=1 compile warnings (invalid kerneldoc):

    mm/swap_state.c:742: warning: Function parameter or member 'fentry' not described in 'swap_vma_readahead'
    mm/swap_state.c:742: warning: Excess function parameter 'entry' description in 'swap_vma_readahead'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200728171109.28687-2-krzk@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Krzysztof Kozlowski authored and Linus Torvalds committed Aug 7, 2020
1 parent e0f3ebb commit 27ec487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/swap_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ static void swap_ra_info(struct vm_fault *vmf,

/**
* swap_vma_readahead - swap in pages in hope we need them soon
* @entry: swap entry of this memory
* @fentry: swap entry of this memory
* @gfp_mask: memory allocation flags
* @vmf: fault information
*
Expand Down

0 comments on commit 27ec487

Please sign in to comment.