mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2] printk: fix a typo of comment
@ 2022-11-22  8:50 Wang Honghui
  2022-11-22 11:16 ` Petr Mladek
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Honghui @ 2022-11-22  8:50 UTC (permalink / raw)
  To: Petr Mladek, Sergey Senozhatsky, Steven Rostedt, John Ogness,
	linux-kernel

Fix a typo of comment

Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn>
---
 kernel/printk/printk_ringbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/printk/printk_ringbuffer.c b/kernel/printk/printk_ringbuffer.c
index 2b7b6ddab4f7..2dc4d5a1f1ff 100644
--- a/kernel/printk/printk_ringbuffer.c
+++ b/kernel/printk/printk_ringbuffer.c
@@ -203,7 +203,7 @@
  *	prb_rec_init_wr(&r, 5);
  *
  *	// try to extend, but only if it does not exceed 32 bytes
- *	if (prb_reserve_in_last(&e, &test_rb, &r, printk_caller_id()), 32) {
+ *	if (prb_reserve_in_last(&e, &test_rb, &r, printk_caller_id(), 32)) {
  *		snprintf(&r.text_buf[r.info->text_len],
  *			 r.text_buf_size - r.info->text_len, "hello");
  *
-- 
2.34.1


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

* Re: [PATCH V2] printk: fix a typo of comment
  2022-11-22  8:50 [PATCH V2] printk: fix a typo of comment Wang Honghui
@ 2022-11-22 11:16 ` Petr Mladek
  2022-11-23  9:21   ` 王洪辉
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Mladek @ 2022-11-22 11:16 UTC (permalink / raw)
  To: Wang Honghui
  Cc: Sergey Senozhatsky, Steven Rostedt, John Ogness, linux-kernel

On Tue 2022-11-22 16:50:36, Wang Honghui wrote:
> Fix a typo of comment
> 
> Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn>

JFYI, the patch has been committed into printk/linux.git, branch for-6.2.

Best Regards,
Petr

PS: I have added John's Reviewed-by from v1 [1]. This version of the patch
    just fixed the typo that John mentioned there

[1] https://lore.kernel.org/r/874jurqt5g.fsf@jogness.linutronix.de

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

* Re: [PATCH V2] printk: fix a typo of comment
  2022-11-22 11:16 ` Petr Mladek
@ 2022-11-23  9:21   ` 王洪辉
  0 siblings, 0 replies; 3+ messages in thread
From: 王洪辉 @ 2022-11-23  9:21 UTC (permalink / raw)
  To: Petr Mladek; +Cc: Sergey Senozhatsky, Steven Rostedt, John Ogness, linux-kernel

Thanks,Best Regards!Wang Honghui&nbsp;&nbsp;------------------&nbsp;Original&nbsp;------------------From: &nbsp;"Petr&nbsp;Mladek"<pmladek@suse.com>;Date: &nbsp;Tue, Nov 22, 2022 07:16 PMTo: &nbsp;"Wang Honghui"<honghui.wang@ucas.com.cn>; Cc: &nbsp;"Sergey Senozhatsky"<senozhatsky@chromium.org>; "Steven Rostedt"<rostedt@goodmis.org>; "John Ogness"<john.ogness@linutronix.de>; "linux-kernel"<linux-kernel@vger.kernel.org>; Subject: &nbsp;Re: [PATCH V2] printk: fix a typo of comment&nbsp;On Tue 2022-11-22 16:50:36, Wang Honghui wrote:&gt; Fix a typo of comment&gt; &gt; Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn>JFYI, the patch has been committed into printk/linux.git, branch for-6.2.Best Regards,PetrPS: I have added John's Reviewed-by from v1 [1]. This version of the patch just fixed the typo that John mentioned there[1] https://lore.kernel.org/r/874jurqt5g.fsf@jogness.linutronix.de</honghui.wang@ucas.com.cn></linux-kernel@vger.kernel.org></john.ogness@linutronix.de></rostedt@goodmis.org></senozhatsky@chromium.org></honghui.wang@ucas.com.cn></pmladek@suse.com>

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

end of thread, other threads:[~2022-11-23  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22  8:50 [PATCH V2] printk: fix a typo of comment Wang Honghui
2022-11-22 11:16 ` Petr Mladek
2022-11-23  9:21   ` 王洪辉

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®