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


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux