mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/alternative: Update the description for text_poke_bp
@ 2020-12-03 14:50 Qiujun Huang
  2020-12-07 11:52 ` [tip: x86/cleanups] x86/alternative: Update text_poke_bp() kernel-doc comment tip-bot2 for Qiujun Huang
  0 siblings, 1 reply; 2+ messages in thread
From: Qiujun Huang @ 2020-12-03 14:50 UTC (permalink / raw)
  To: mingo, bp, x86, hpa, linux-kernel; +Cc: Qiujun Huang

The function changed at some point, but the description was not
updated.

Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
---
 arch/x86/kernel/alternative.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 2400ad62f330..8d778e46725d 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1374,7 +1374,7 @@ void __ref text_poke_queue(void *addr, const void *opcode, size_t len, const voi
  * @addr:	address to patch
  * @opcode:	opcode of new instruction
  * @len:	length to copy
- * @handler:	address to jump to when the temporary breakpoint is hit
+ * @emulate:	instruction to be emulated
  *
  * Update a single instruction with the vector in the stack, avoiding
  * dynamically allocated memory. This function should be used when it is
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-07 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 14:50 [PATCH] x86/alternative: Update the description for text_poke_bp Qiujun Huang
2020-12-07 11:52 ` [tip: x86/cleanups] x86/alternative: Update text_poke_bp() kernel-doc comment tip-bot2 for Qiujun Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®