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
> 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
Ian Soboroff <[email protected]> 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.