Skip to content

Commit 44eb5a7

Browse files
Yi Wangsuryasaimadhu
authored andcommitted
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: Yi Wang <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: x86-ml <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent e095cb7 commit 44eb5a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/x86/kernel/apic/apic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2335,7 +2335,7 @@ static int cpuid_to_apicid[] = {
23352335
#ifdef CONFIG_SMP
23362336
/**
23372337
* apic_id_is_primary_thread - Check whether APIC ID belongs to a primary thread
2338-
* @id: APIC ID to check
2338+
* @apicid: APIC ID to check
23392339
*/
23402340
bool apic_id_is_primary_thread(unsigned int apicid)
23412341
{

arch/x86/kernel/uprobes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,8 @@ static int push_setup_xol_ops(struct arch_uprobe *auprobe, struct insn *insn)
842842

843843
/**
844844
* arch_uprobe_analyze_insn - instruction analysis including validity and fixups.
845+
* @auprobe: the probepoint information.
845846
* @mm: the probed address space.
846-
* @arch_uprobe: the probepoint information.
847847
* @addr: virtual address at which to install the probepoint
848848
* Return 0 on success or a -ve number on error.
849849
*/

0 commit comments

Comments
 (0)