lkml.org 
[lkml]   [2008]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ACPI: add standard linux WARN() output to ACPI warnings


On Tue, 24 Jun 2008, Len Brown wrote:

>
>
> > Please do not use warn_on_slowpath() directly!
> > Please use WARN_ON() or WARN(). The later has printk semantics so this
> > could turn into
> >
> > WARN(1, "ACPI Error (%s-%0d): \n", module_name, line_number);
>
> >
> > and kerneloops.org and various other tools will pick up the printk like
> > arguments as part of the warning message.
>
> cool, will do.

that is, will do when WARN() actually gets upstream:-)


\
 
 \ /
  Last update: 2008-06-26 06:01    [W:0.035 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site