Re: [PATCH] power: disable hibernation if module loading is disabled

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

 



On Fri, Mar 04, 2011 at 21:32 +0100, Pavel Machek wrote:
> > +	if (modules_disabled)
> > +		return -EPERM;
> > +
> >  	error = platform_begin(platform_mode);
> 
> Hmm. How is this supposed to work with CONFIG_MODULES off?

Good catch, thank you.  I'll fix this.

-- 
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments
_______________________________________________
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