Re: [PATCH] ACPI: add standard linux WARN() output to ACPI warnings

From: Len Brown
Date: Tue Jun 24 2008 - 23:11:09 EST




> 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.

thanks,
-Len

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/