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-next>] [day] [month] [year] [list]
Message-ID: <1313719486.20874.1.camel@phoenix>
Date:	Fri, 19 Aug 2011 10:04:46 +0800
From:	Axel Lin <axel.lin@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	"Rafael J. Wysocki" <rjw@...k.pl>
Subject: [PATCH] PM: pm_clock.h needs to include linux/notifier.h

This patch fixes below build error:

  CC      drivers/base/power/clock_ops.o
In file included from drivers/base/power/clock_ops.c:13:
include/linux/pm_clock.h:15: error: field 'nb' has incomplete type
drivers/base/power/clock_ops.c: In function 'pm_clk_notify':
drivers/base/power/clock_ops.c:437: warning: type defaults to 'int' in declaration of '__mptr'
drivers/base/power/clock_ops.c:437: warning: initialization from incompatible pointer type
make[3]: *** [drivers/base/power/clock_ops.o] Error 1
make[2]: *** [drivers/base/power] Error 2
make[1]: *** [drivers/base] Error 2
make: *** [drivers] Error 2

Signed-off-by: Axel Lin <axel.lin@...il.com>
---
This patch is against linux-next next-20110818.
Axel

 include/linux/pm_clock.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/pm_clock.h b/include/linux/pm_clock.h
index f888013..8348866 100644
--- a/include/linux/pm_clock.h
+++ b/include/linux/pm_clock.h
@@ -10,6 +10,7 @@
 #define _LINUX_PM_CLOCK_H
 
 #include <linux/device.h>
+#include <linux/notifier.h>
 
 struct pm_clk_notifier_block {
 	struct notifier_block nb;
-- 
1.7.4.1



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ