diff options
| author | Randy Dunlap <[email protected]> | 2025-01-11 06:32:57 +0000 |
|---|---|---|
| committer | Vlastimil Babka <[email protected]> | 2025-01-13 09:22:04 +0000 |
| commit | 2da76e9e12c35f635ca90a223844c279c511a0dd (patch) | |
| tree | a1854a4c0b7a8761875aad967add074282699d70 /mm/slab.h | |
| parent | memcg: slub: fix SUnreclaim for post charged objects (diff) | |
| download | kernel-2da76e9e12c35f635ca90a223844c279c511a0dd.tar.gz kernel-2da76e9e12c35f635ca90a223844c279c511a0dd.zip | |
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]>
Diffstat (limited to 'mm/slab.h')
| -rw-r--r-- | mm/slab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slab.h b/mm/slab.h index 632fedd71fea..e9fd9bf0bfa6 100644 --- a/mm/slab.h +++ b/mm/slab.h @@ -128,7 +128,7 @@ static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(freelist_aba_t) /** * slab_folio - The folio allocated for a slab - * @slab: The slab. + * @s: The slab. * * Slabs are allocated as folios that contain the individual objects and are * 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) /** * slab_page - The first struct page allocated for a slab - * @slab: The slab. + * @s: The slab. * * A convenience wrapper for converting slab to the first struct page of the * underlying folio, to communicate with code not yet converted to folio or |
