On Thu 2021-02-18 09:18:07, John Ogness wrote: > The logic for finding records to fit into a buffer is the same for > kmsg_dump_get_buffer() and syslog_print_all(). Introduce a helper > function find_first_fitting_seq() to handle this logic. > > Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]> Best Regards, Petr

