mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 18:26:42 +00:00
x86/insn-eval: Fix function param name in get_eff_addr_sib()
Change "regoff" to "base_offset" in 2 places in the kernel-doc comments to prevent warnings: insn-eval.c:1152: warning: Function parameter or member 'base_offset' not described in 'get_eff_addr_sib' insn-eval.c:1152: warning: Excess function parameter 'regoff' description in 'get_eff_addr_sib' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240211062452.16411-1-rdunlap@infradead.org
This commit is contained in:
parent
841c351693
commit
7d4002e8ce
@ -1129,15 +1129,15 @@ static int get_eff_addr_modrm_16(struct insn *insn, struct pt_regs *regs,
|
||||
* get_eff_addr_sib() - Obtain referenced effective address via SIB
|
||||
* @insn: Instruction. Must be valid.
|
||||
* @regs: Register values as seen when entering kernel mode
|
||||
* @regoff: Obtained operand offset, in pt_regs, associated with segment
|
||||
* @base_offset: Obtained operand offset, in pt_regs, associated with segment
|
||||
* @eff_addr: Obtained effective address
|
||||
*
|
||||
* Obtain the effective address referenced by the SIB byte of @insn. After
|
||||
* identifying the registers involved in the indexed, register-indirect memory
|
||||
* reference, its value is obtained from the operands in @regs. The computed
|
||||
* address is stored @eff_addr. Also, the register operand that indicates the
|
||||
* associated segment is stored in @regoff, this parameter can later be used to
|
||||
* determine such segment.
|
||||
* associated segment is stored in @base_offset; this parameter can later be
|
||||
* used to determine such segment.
|
||||
*
|
||||
* Returns:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user