printk: Straighten out log_flags into printk_info_flags
authorChris Down <chris@chrisdown.name>
Tue, 15 Jun 2021 16:52:48 +0000 (17:52 +0100)
committerPetr Mladek <pmladek@suse.com>
Mon, 19 Jul 2021 09:56:40 +0000 (11:56 +0200)
commita1ad4b8a19566b11e0306f8b197f2fd4567340e5
treee8df99fe0d779b338bf402f9e9995ea789ffa3b1
parent91027d0a7a0e309b94674923dc1b245b709b5c1e
printk: Straighten out log_flags into printk_info_flags

In the past, `enum log_flags` was part of `struct log`, hence the name.
`struct log` has since been reworked and now this struct is stored
inside `struct printk_info`. However, the name was never updated, which
is somewhat confusing -- especially since these flags operate at the
record level rather than at the level of an abstract log.

printk_info_flags also joins its other metadata struct friends in
printk_ringbuffer.h.

Signed-off-by: Chris Down <chris@chrisdown.name>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/3dd801982f02603e6e3aa4f8bc4f5ebb830a4949.1623775748.git.chris@chrisdown.name
kernel/printk/internal.h
kernel/printk/printk.c