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 <[email protected]> Reviewed-by: John Ogness <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected]
1 parent fd070e8 commit 7b0592a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)