[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.1.10.0806252357300.3279@localhost.localdomain>
Date: Wed, 25 Jun 2008 23:57:54 -0400 (EDT)
From: Len Brown <lenb@...nel.org>
To: Arjan van de Ven <arjan@...radead.org>
Cc: Ingo Molnar <mingo@...e.hu>,
Vegard Nossum <vegard.nossum@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-acpi@...r.kernel.org, Zhao Yakui <yakui.zhao@...el.com>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Alexey Starikovskiy <astarikovskiy@...e.de>,
Yinghai Lu <yhlu.kernel@...il.com>
Subject: Re: [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:-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists