Re: [PATCH v3 3/6] mpi3mr: Dump driver and dmesg logs into driver diag buffer

Martin K. Petersen
2024-05-31T01:04:40Z

Ranjan,

> + kmsg_dump_rewind(&dumper.kdumper);
> + while (kmsg_dump_get_line(&dumper.kdumper, 1, NULL, 0, NULL))
> + n++;
> +
> + lines = n;
> + kmsg_dump_rewind(&dumper.kdumper);

Ugh. This is something your userland stuff will have to handle.

--
Martin K. Petersen Oracle Linux Engineering