lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 05 Jul 2010 16:35:36 -0400
From:	Valdis.Kletnieks@...edu
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Pavel Machek <pavel@....cz>, "Rafael J. Wysocki" <rjw@...k.pl>,
	Len Brown <len.brown@...el.com>
Cc:	linux-kernel@...r.kernel.org, linux-pm@...ts.linux-foundation.org
Subject: mmotm 2010-07-01 pm_get_wakeup_count() declaration

On Thu, 01 Jul 2010 12:19:51 PDT, akpm@...ux-foundation.org said:
> The mm-of-the-moment snapshot 2010-07-01-12-19 has been uploaded to

Not sure who to blame for the commit, it was in the linux-next.patch and I'm
too lazy to pull down the git tree and dig it out.

  CC      kernel/power/main.o
kernel/power/main.c: In function 'wakeup_count_show':
kernel/power/main.c:241: error: implicit declaration of function 'pm_get_wakeup_count'
kernel/power/main.c: In function 'wakeup_count_store':
kernel/power/main.c:251: error: implicit declaration of function 'pm_save_wakeup_count'
make[2]: *** [kernel/power/main.o] Error 1

Problem is that declaration in include/linux/suspend.h is wrapped in
a #ifdef CONFIG_PM_SLEEP, but the usage in kernel/power/main.c isn't. So
it dies a horrid death if your config doesn't include PM_SLEEP.

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ