]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
regset: Fix kerneldoc for struct regset_get() in user_regset
authorDave Martin <Dave.Martin@arm.com>
Tue, 1 Jul 2025 13:55:54 +0000 (14:55 +0100)
committerKees Cook <kees@kernel.org>
Tue, 15 Jul 2025 05:27:46 +0000 (22:27 -0700)
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>
include/linux/regset.h

index 9061266dd8de16b5135a876d858bd9730b9cacb3..02417e934845e376f62c924e2f610510e83a509a 100644 (file)
@@ -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.