Skip to contentSkip to conversation

Correct syntax error.

PATCH New Wang Honghui 1 participant 1 message Nov 22, 2022 Printk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Correct syntax error.

---
 kernel/printk/printk_ringbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/printk/printk_ringbuffer.c +1 -1
index 2b7b6ddab4f7..2dc4d5a1f1ff 100644
@@ -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");
  *
Signature · 1 line
2.34.1