Skip to content

Commit 7b0592a

Browse files
wanghonghui2023pmladek
authored andcommitted
printk: fix a typo of comment
Fix a typo of comment Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn> Reviewed-by: John Ogness <john.ogness@linutronix.de> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/77522C532189E547+Y3yG91g6XALbtdJr@TP-P15V.lan Link: https://lore.kernel.org/r/0C7C980DB815FAE1+Y3yNXJCqZ3Nzxa5V@TP-P15V.lan
1 parent fd070e8 commit 7b0592a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/printk/printk_ringbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
* prb_rec_init_wr(&r, 5);
204204
*
205205
* // try to extend, but only if it does not exceed 32 bytes
206-
* if (prb_reserve_in_last(&e, &test_rb, &r, printk_caller_id()), 32) {
206+
* if (prb_reserve_in_last(&e, &test_rb, &r, printk_caller_id(), 32)) {
207207
* snprintf(&r.text_buf[r.info->text_len],
208208
* r.text_buf_size - r.info->text_len, "hello");
209209
*

0 commit comments

Comments
 (0)