summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDave Martin <Dave.Martin@arm.com>2025-07-01 14:55:54 +0100
committerKees Cook <kees@kernel.org>2025-07-14 22:27:46 -0700
commit6fd9e1aa078490ed6e79307465269629fcb43018 (patch)
tree078b220fb54b78974258e4194009dc96f680d03c /include/linux
parente04c78d86a9699d136910cfc0bdcf01087e3267e (diff)
regset: Fix kerneldoc for struct regset_get() in user_regset
Commit 7717cb9bdd04 ("regset: new method and helpers for it") added a new interface ->regset_get() for struct user_regset, and commit 1e6986c9db21 ("regset: kill ->get()") got rid of the old interface. The kerneldoc comment block was never updated to take account of this change, though. Update it. No functional change. Signed-off-by: Dave Martin <Dave.Martin@arm.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Kees Cook <kees@kernel.org> Cc: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> Link: https://lore.kernel.org/r/20250701135616.29630-2-Dave.Martin@arm.com Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regset.h b/include/linux/regset.h
index 9061266dd8de..02417e934845 100644
--- a/include/linux/regset.h
+++ b/include/linux/regset.h
@@ -151,7 +151,7 @@ typedef int user_regset_writeback_fn(struct task_struct *target,
* @align: Required alignment, in bytes.
* @bias: Bias from natural indexing.
* @core_note_type: ELF note @n_type value used in core dumps.
- * @get: Function to fetch values.
+ * @regset_get: Function to fetch values.
* @set: Function to store values.
* @active: Function to report if regset is active, or %NULL.
* @writeback: Function to write data back to user memory, or %NULL.