Skip to content

Commit 2da76e9

Browse files
rddunlaptehcaster
authored andcommitted
mm/slab: fix kernel-doc func param names
Use corrected function parameter names to eliminate kernel-doc warnings: slab.h:142: warning: Function parameter or struct member 's' not described in 'slab_folio' slab.h:142: warning: Excess function parameter 'slab' description in 'slab_folio' slab.h:168: warning: Function parameter or struct member 's' not described in 'slab_page' slab.h:168: warning: Excess function parameter 'slab' description in 'slab_page' Signed-off-by: Randy Dunlap <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Andrew Morton <[email protected]> Acked-by: David Rientjes <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
1 parent b7ffecb commit 2da76e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/slab.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(freelist_aba_t)
128128

129129
/**
130130
* slab_folio - The folio allocated for a slab
131-
* @slab: The slab.
131+
* @s: The slab.
132132
*
133133
* Slabs are allocated as folios that contain the individual objects and are
134134
* using some fields in the first struct page of the folio - those fields are
@@ -159,7 +159,7 @@ static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(freelist_aba_t)
159159

160160
/**
161161
* slab_page - The first struct page allocated for a slab
162-
* @slab: The slab.
162+
* @s: The slab.
163163
*
164164
* A convenience wrapper for converting slab to the first struct page of the
165165
* underlying folio, to communicate with code not yet converted to folio or

0 commit comments

Comments
 (0)