Commit 44eb5a7e authored by Yi Wang's avatar Yi Wang Committed by Borislav Petkov

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. ]
Signed-off-by: default avatarYi Wang <wang.yi59@zte.com.cn>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/1571816442-22494-1-git-send-email-wang.yi59@zte.com.cn
parent e095cb7a
...@@ -2335,7 +2335,7 @@ static int cpuid_to_apicid[] = { ...@@ -2335,7 +2335,7 @@ static int cpuid_to_apicid[] = {
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
/** /**
* apic_id_is_primary_thread - Check whether APIC ID belongs to a primary thread * 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) bool apic_id_is_primary_thread(unsigned int apicid)
{ {
......
...@@ -842,8 +842,8 @@ static int push_setup_xol_ops(struct arch_uprobe *auprobe, struct insn *insn) ...@@ -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. * arch_uprobe_analyze_insn - instruction analysis including validity and fixups.
* @auprobe: the probepoint information.
* @mm: the probed address space. * @mm: the probed address space.
* @arch_uprobe: the probepoint information.
* @addr: virtual address at which to install the probepoint * @addr: virtual address at which to install the probepoint
* Return 0 on success or a -ve number on error. * Return 0 on success or a -ve number on error.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment