linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0-test1 - device_suspend KERN_EMERG message?
@ 2003-07-21 13:03 Ian Soboroff
  2003-07-21 13:16 ` Sean Neakums
  2003-07-21 13:16 ` Patrick Mochel
  0 siblings, 2 replies; 3+ messages in thread
From: Ian Soboroff @ 2003-07-21 13:03 UTC (permalink / raw)
  To: linux-kernel


Is there any special reason to scream that we're suspending devices in
device_suspend?

int device_suspend(u32 state, u32 level)
{
        struct device * dev;
        int error = 0;

        printk(KERN_EMERG "Suspending devices\n");

...

And likewise further below during resume.

On my box, syslog shouts to all xterms and KDE throws up a kwrite message
too.  Why is this an emergency?  If there are no objections, I'll send
a patch to move these messages to KERN_NOTICE.

Ian


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

* Re: 2.6.0-test1 - device_suspend KERN_EMERG message?
  2003-07-21 13:03 2.6.0-test1 - device_suspend KERN_EMERG message? Ian Soboroff
@ 2003-07-21 13:16 ` Sean Neakums
  2003-07-21 13:16 ` Patrick Mochel
  1 sibling, 0 replies; 3+ messages in thread
From: Sean Neakums @ 2003-07-21 13:16 UTC (permalink / raw)
  To: linux-kernel

Ian Soboroff <ian.soboroff@nist.gov> writes:

> On my box, syslog shouts to all xterms and KDE throws up a kwrite message
> too.  Why is this an emergency?  If there are no objections, I'll send
> a patch to move these messages to KERN_NOTICE.

I think I saw a patch posted recently that deletes them entirely.


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

* Re: 2.6.0-test1 - device_suspend KERN_EMERG message?
  2003-07-21 13:03 2.6.0-test1 - device_suspend KERN_EMERG message? Ian Soboroff
  2003-07-21 13:16 ` Sean Neakums
@ 2003-07-21 13:16 ` Patrick Mochel
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick Mochel @ 2003-07-21 13:16 UTC (permalink / raw)
  To: Ian Soboroff; +Cc: linux-kernel


> Is there any special reason to scream that we're suspending devices in
> device_suspend?
> 
> int device_suspend(u32 state, u32 level)
> {
>         struct device * dev;
>         int error = 0;
> 
>         printk(KERN_EMERG "Suspending devices\n");

Hey, it's so everyone notices. :) 

I don't mind toning it down or removing it. 


	-pat


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

end of thread, other threads:[~2003-07-21 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-21 13:03 2.6.0-test1 - device_suspend KERN_EMERG message? Ian Soboroff
2003-07-21 13:16 ` Sean Neakums
2003-07-21 13:16 ` Patrick Mochel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).