Skip to contentSkip to conversation

uprobes/x86: fix arch_uprobe_analyze_insn() comment

PATCH Applied Yi Wang 2 participants 2 messages Oct 23, 2019 – Oct 27, 2019

Subsystems (2)
lore
Share & tools
lore

Yi Wang

author
#0 lore raw

PATCH 1/1 uprobes/x86: fix arch_uprobe_analyze_insn() comment

Fix parameter name in comment and adjust the order. No functional change.

---
 arch/x86/kernel/uprobes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/uprobes.c +1 -1
index 8cd745e..15e5aad 100644
@@ -842,8 +842,8 @@ static int push_setup_xol_ops(struct arch_uprobe *auprobe, struct insn *insn)
 
 /**
  * arch_uprobe_analyze_insn - instruction analysis including validity and fixups.
+ * @auprobe: the probepoint information.
  * @mm: the probed address space.
- * @arch_uprobe: the probepoint information.
  * @addr: virtual address at which to install the probepoint
  * Return 0 on success or a -ve number on error.
  */
Signature · 1 line
1.8.3.1
merge bot Applied
#1 lore raw

[tip: x86/cleanups] x86/apic, x86/uprobes: Correct parameter names in kernel-doc comments

The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     44eb5a7e5dc6f23d04c05c15f91bc279e0dc700d
Gitweb:        https://git.kernel.org/tip/44eb5a7e5dc6f23d04c05c15f91bc279e0dc700d
Author:        Yi Wang <[email protected]>
AuthorDate:    Sun, 27 Oct 2019 08:55:39 +01:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Sun, 27 Oct 2019 09:00:28 +01:00

x86/apic, x86/uprobes: Correct parameter names in kernel-doc comments

Rename parameter names to the correct ones used in the function. No functional changes.

[ bp: Merge two patches into a single one. ]

---
 arch/x86/kernel/apic/apic.c | 2 +-
 arch/x86/kernel/uprobes.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/apic/apic.c +1 -1
index 9e2dd2b..8147106 100644
@@ -2335,7 +2335,7 @@ static int cpuid_to_apicid[] = {
 #ifdef CONFIG_SMP
 /**
  * apic_id_is_primary_thread - Check whether APIC ID belongs to a primary thread
- * @id:	APIC ID to check
+ * @apicid: APIC ID to check
  */
 bool apic_id_is_primary_thread(unsigned int apicid)
 {
arch/x86/kernel/uprobes.c +1 -1
index 8cd745e..15e5aad 100644
@@ -842,8 +842,8 @@ static int push_setup_xol_ops(struct arch_uprobe *auprobe, struct insn *insn)
 
 /**
  * arch_uprobe_analyze_insn - instruction analysis including validity and fixups.
+ * @auprobe: the probepoint information.
  * @mm: the probed address space.
- * @arch_uprobe: the probepoint information.
  * @addr: virtual address at which to install the probepoint
  * Return 0 on success or a -ve number on error.
  */