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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux