[PATCH] console: fix /dev/kmsg reference in flags kernel doc

Johan Hovold posted 1 patch 1 month, 1 week ago
include/linux/console.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] console: fix /dev/kmsg reference in flags kernel doc
Posted by Johan Hovold 1 month, 1 week ago
Fix typo in the CON_EXTENDED flag kernel doc which is supposed to refer
to '/dev/kmsg'.

Fixes: 717a5651b109 ("console: Use BIT() macros for @flags values")
Signed-off-by: Johan Hovold <johan@kernel.org>
---
 include/linux/console.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/console.h b/include/linux/console.h
index d624200cfc17..502d1abe3f50 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -173,7 +173,7 @@ static inline void con_debug_leave(void) { }
  * @CON_BRL:		Indicates a braille device which is exempt from
  *			receiving the printk spam for obvious reasons.
  * @CON_EXTENDED:	The console supports the extended output format of
- *			/dev/kmesg which requires a larger output buffer.
+ *			/dev/kmsg which requires a larger output buffer.
  * @CON_SUSPENDED:	Indicates if a console is suspended. If true, the
  *			printing callbacks must not be called.
  * @CON_NBCON:		Console can operate outside of the legacy style console_lock
-- 
2.54.0
Re: [PATCH] console: fix /dev/kmsg reference in flags kernel doc
Posted by Petr Mladek 1 month ago
On Wed 2026-08-19 15:38:53, Johan Hovold wrote:
> Fix typo in the CON_EXTENDED flag kernel doc which is supposed to refer
> to '/dev/kmsg'.
> 
> Fixes: 717a5651b109 ("console: Use BIT() macros for @flags values")
> Signed-off-by: Johan Hovold <johan@kernel.org>

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

Best Regards,
Petr
Re: [PATCH] console: fix /dev/kmsg reference in flags kernel doc
Posted by Petr Mladek 1 month, 1 week ago
On Wed 2026-08-19 15:38:53, Johan Hovold wrote:
> Fix typo in the CON_EXTENDED flag kernel doc which is supposed to refer
> to '/dev/kmsg'.
> 
> Fixes: 717a5651b109 ("console: Use BIT() macros for @flags values")
> Signed-off-by: Johan Hovold <johan@kernel.org>

Great catch!

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr

PS: I am going to wait few days and then take it via
    the printk tree.