mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mm: fix various kernel-doc comments
Fix various kernel-doc notation in mm/: filemap.c: add function short description; convert 2 to kernel-doc fremap.c: change parameter 'prot' to @prot pagewalk.c: change "-" in function parameters to ":" slab.c: fix short description of kmem_ptr_validate() swap.c: fix description & parameters of put_pages_list() swap_state.c: fix function parameters vmalloc.c: change "@returns" to "Returns:" since that is not a parameter Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6cb2a21049
commit
7682486b3e
7 changed files with 33 additions and 17 deletions
|
|
@ -3624,12 +3624,11 @@ void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)
|
|||
EXPORT_SYMBOL(kmem_cache_alloc);
|
||||
|
||||
/**
|
||||
* kmem_ptr_validate - check if an untrusted pointer might
|
||||
* be a slab entry.
|
||||
* kmem_ptr_validate - check if an untrusted pointer might be a slab entry.
|
||||
* @cachep: the cache we're checking against
|
||||
* @ptr: pointer to validate
|
||||
*
|
||||
* This verifies that the untrusted pointer looks sane:
|
||||
* This verifies that the untrusted pointer looks sane;
|
||||
* it is _not_ a guarantee that the pointer is actually
|
||||
* part of the slab cache in question, but it at least
|
||||
* validates that the pointer can be dereferenced and
|
||||
|
|
|
|||
Loading…
Reference in a new issue