public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* pm_prepare_console()
@ 2008-04-23 18:57 Len Brown
  2008-04-23 19:41 ` pm_prepare_console() Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Len Brown @ 2008-04-23 18:57 UTC (permalink / raw)
  To: Rafael J. Wysocki, Pavel Machek; +Cc: linux-pm

Rafael, Pavel,

suspend_prepare() ignores the return value of pm_prepare_console() -- assuming it always succceeds.

Is that a bug or a feature?
(same in the hibernate code)

thanks,
-Len

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pm_prepare_console()
  2008-04-23 18:57 pm_prepare_console() Len Brown
@ 2008-04-23 19:41 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2008-04-23 19:41 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-pm

On Wednesday, 23 of April 2008, Len Brown wrote:
> Rafael, Pavel,
> 
> suspend_prepare() ignores the return value of pm_prepare_console() -- assuming it always succceeds.
> 
> Is that a bug or a feature?
> (same in the hibernate code)

A feature, I'd say.

The failures of pm_prepare_console() are not considered as serious enough to
abort suspend or hibernation.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-23 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 18:57 pm_prepare_console() Len Brown
2008-04-23 19:41 ` pm_prepare_console() Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox