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:	Thu, 27 Feb 2014 17:11:51 +0530
From:	Rashika Kheria <rashika.kheria@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...hat.com>, josh@...htriplett.org
Subject: [PATCH 13/46] kernel: Move prototype declaration to header file
 kernel/locking/lockdep_internals.h

Move prototype declaration of functions to header file
kernel/locking/lockdep_internals.h because they are used by more than
one file.

This eliminates the following warning in kernel/locking/lockdep.c:
kernel/locking/lockdep.c:2560:6: warning: no previous prototype for ‘trace_hardirqs_on_caller’ [-Wmissing-prototypes]
kernel/locking/lockdep.c:2613:6: warning: no previous prototype for ‘trace_hardirqs_off_caller’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@...il.com>
Reviewed-by: Josh Triplett <josh@...htriplett.org>
---
 kernel/locking/lockdep_internals.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/locking/lockdep_internals.h b/kernel/locking/lockdep_internals.h
index 4f560cf..81390ab 100644
--- a/kernel/locking/lockdep_internals.h
+++ b/kernel/locking/lockdep_internals.h
@@ -70,6 +70,9 @@ enum {
 extern struct list_head all_lock_classes;
 extern struct lock_chain lock_chains[];
 
+void trace_hardirqs_on_caller(unsigned long ip);
+void trace_hardirqs_off_caller(unsigned long ip);
+
 #define LOCK_USAGE_CHARS (1+LOCK_USAGE_STATES/2)
 
 extern void get_usage_chars(struct lock_class *class,
-- 
1.7.9.5

--
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