Re: [PATCH] swsusp: Do not use pm_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-05-03 at 11:46 +0200, Rafael J. Wysocki wrote:

> Well, BUG_ON() is extremely user-unfriendly, and it'd trigger even if the user
> actually didn't intend to suspend at all.

Well, hibernation_set_ops is invoked whenever the user loads his ACPI
module with S4 possible, and typically having a BUG_ON here will make
the developers who wrote the code that calls hibernation_set_ops see it
right away while they might miss the message.

I don't care much though, it just seems wasteful to have this string in
there when it'll never be seen by anyone but the developers who create
new hibernation_ops.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux