Re: [PATCH 3/7] PCI PM: Fix saving of device state inpci_legacy_suspend

From: Linus Torvalds
Date: Wed Feb 04 2009 - 16:57:26 EST




On Thu, 5 Feb 2009, Benjamin Herrenschmidt wrote:
>
> How so ? I've had such backtraces with no other info in my log...

_with_ that patch?

It very much replaces a warning with no further info with

+ WARN_ONCE(pci_dev->current_state != prev,
+ "PCI PM: Device state not saved by %pF\n",
+ drv->suspend);

And notice the "%pF" and the 'drv->suspend': it should tell you exactly
which suspend routine it was that messed up.

Linus
--
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/