]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
printk: ringbuffer: fix errors in comments
authorLoïc Grégoire <loicgre@gmail.com>
Sat, 28 Mar 2026 02:18:54 +0000 (22:18 -0400)
committerPetr Mladek <pmladek@suse.com>
Tue, 31 Mar 2026 15:40:23 +0000 (17:40 +0200)
commitbf56987c111372a54ae877934a42f7fb0953a6ca
tree3bfbe8f9b4b26771ed160d1baf719d4f44f95cfe
parent407f666db2b12c71744e5c897a74284768450578
printk: ringbuffer: fix errors in comments

The printk ringbuffer implementation is described in the comment as
using three ringbuffers, but the current implementation uses two (desc
and data). Update the comment so it matches the code.

Fix few more known issues in the comments.

Signed-off-by: Loïc Grégoire <loicgre@gmail.com>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
Link: https://patch.msgid.link/20260328021855.53956-1-loicgre@gmail.com
[pmladek@suse.com: Fixed few more issues in the comments by John Ogness.]
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
kernel/printk/printk_ringbuffer.c
kernel/printk/printk_ringbuffer.h