[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111223204407.54363939@pyx>
Date: Fri, 23 Dec 2011 20:44:07 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Dave Jones <davej@...hat.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
linux-pm@...r.kernel.org
Subject: Re: Print PCI device in power management warning.
On Fri, 23 Dec 2011 13:16:26 -0500
Dave Jones <davej@...hat.com> wrote:
> When the WARN_ON in pci_has_legacy_pm_support() triggers, we get
> users filing backtraces, but it's not obvious which driver is
> triggering the trace. This adds a printk before the BUG.
> This still isn't perfect (automated tools like abrt will still miss it)
> but we can at least ask the user to look through their dmesg when
> we get these traces reported.
>
> Signed-off-by: Dave Jones <davej@...hat.com>
NAK
The old code did a WARN() the new code BUG() which in practice means in
many cases the user will get a crash and hang at boot and not even be
able to catch the trap.
At the very least your changelog should warn people it changes from
WARN_ON noise to system crash and burn.
Alan
--
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