diff options
| author | 2026-09-09 08:37:44 +0200 | |
|---|---|---|
| committer | 2026-09-16 11:52:34 +0200 | |
| commit | 703749b069d53b55f92499e088b30b031e47b8f9 (patch) | |
| tree | a5b5b39ac3b97a9e4636fbd0c2de213579c4bb9b /include | |
| parent | random: vDSO: fix repeated word 'to' in comment (diff) | |
struct vgetrandom_opaque_params contains size_of_opaque_state, but its
kernel-doc describes size_per_opaque_state. This leaves the real member
undescribed and adds a nonexistent member to the generated
documentation.
Use the member's actual name.
Fixes: 4ad10a5f5f78 ("random: introduce generic vDSO getrandom() implementation")
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/linux/random.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/random.h b/include/uapi/linux/random.h index 1dd047ec98a1..ef6614d9c704 100644 --- a/include/uapi/linux/random.h +++ b/include/uapi/linux/random.h @@ -58,7 +58,7 @@ struct rand_pool_info { /** * struct vgetrandom_opaque_params - arguments for allocating memory for vgetrandom * - * @size_per_opaque_state: Size of each state that is to be passed to vgetrandom(). + * @size_of_opaque_state: Size of each state passed to vgetrandom(). * @mmap_prot: Value of the prot argument in mmap(2). * @mmap_flags: Value of the flags argument in mmap(2). * @reserved: Reserved for future use. |
