Skip to contentSkip to conversation

console: fix /dev/kmsg reference in flags kernel doc

PATCH In review Johan Hovold 2 participants 3 messages Aug 19 – Aug 25 Console

lore
Share & tools
lore
#0 lore raw

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

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")
---
 include/linux/console.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/console.h +1 -1
index d624200cfc17..502d1abe3f50 100644
@@ -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
Signature · 1 line
2.54.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Johan Hovold

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")

Great catch!

Best Regards,
Petr

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

#2 lore raw
In reply to Johan Hovold
Quoted 5 lines · Johan Hovold

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")

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

Best Regards,
Petr