diff options
author | John Ogness <john.ogness@linutronix.de> | 2021-03-03 11:15:18 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-03-08 11:43:05 +0100 |
commit | 726b5097701a8d46f5354be780e1a11fc4ca1187 (patch) | |
tree | 161c5ccbd684c5de992742078b81c68d117aa172 /CREDITS | |
parent | e831e400f73b0e7aa4629200c2ef71e068262414 (diff) |
printk: refactor kmsg_dump_get_buffer()
kmsg_dump_get_buffer() requires nearly the same logic as
syslog_print_all(), but uses different variable names and
does not make use of the ringbuffer loop macros. Modify
kmsg_dump_get_buffer() so that the implementation is as similar
to syslog_print_all() as possible.
A follow-up commit will move this common logic into a
separate helper function.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210303101528.29901-6-john.ogness@linutronix.de
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions