lkml.org 
[lkml]   [2009]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 4/5] core: Add kernel message dumper to call on oopses and panics

* Simon Kagstrom <simon.kagstrom@netinsight.net> wrote:

/**
* kmsg_dump_register - register a kernel log dumper.
* @dump: pointer to the kmsg_dumper structure
*
* Adds a kernel log dumper to the system. The dump callback in the
* structure will be called when the kernel oopses or panics and must be
* set. Returns zero on success and -EINVAL or -EBUSY otherwise.
*/

Small detail - please use the KernelDoc style used in existing printk.c
facilities, i.e. use a single space instead of a tab:

/**
* kmsg_dump_register - register a kernel log dumper.
* @dump: pointer to the kmsg_dumper structure
*
* Adds a kernel log dumper to the system. The dump callback in the
* structure will be called when the kernel oopses or panics and must be
* set. Returns zero on success and -EINVAL or -EBUSY otherwise.
*/

(in the other functions as well)

Ingo


\
 
 \ /
  Last update: 2009-10-16 10:21    [W:0.050 / U:3.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site